-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to fix feature encoder weights during SS process #52
Comments
How to freeze the convolution weights?If you set
It means that you're using
i.e., the convolution weights are frozen. How to load the pre-trained model?You may directly load normal checkpoints to MTL models like this:
If you have any further questions, feel free to ask. |
Thanks for your detailed reply. I can completely understand the experiment now.
在 2021-05-12 17:26:14,"Yaoyao Liu" ***@***.***> 写道:
Reopened #52.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
during pythorch version
new_weight = self.weight.mul(new_mtl_weight)(line 95 in conv2d_mtl.py)
self.weight = Parameter(torch.Tensor(out_channels, in_channels // groups, *kernel_size))(line 42 in conv2d_mtl.py)
How to load pretrained and fix feature encoder weights during SS process?
The text was updated successfully, but these errors were encountered: