Skip to content
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

Freezing of parameters of the ResNet #3

Open
Abhranta opened this issue Apr 25, 2021 · 2 comments
Open

Freezing of parameters of the ResNet #3

Abhranta opened this issue Apr 25, 2021 · 2 comments

Comments

@Abhranta
Copy link

Does the default code freeze the parameters of the ResNet model or are we upgrading the weights of the pretrained resnet layers as well ?

@hsinyilin19
Copy link
Owner

The default code freeze the pretrained weights of the ResNet model except for the last layer.

@databaaz
Copy link

databaaz commented Sep 14, 2022

@hsinyilin19 I am afraid that's not correct. The default code (pretrained=True) simply loads the pretrained weights but doesn't freeze them.

I have opened a PR to freeze them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants