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

bugfix_timm_init_weights #85

Merged
merged 2 commits into from
Jun 10, 2022
Merged

bugfix_timm_init_weights #85

merged 2 commits into from
Jun 10, 2022

Conversation

tuofeilunhifi
Copy link
Collaborator

No description provided.

@@ -166,7 +166,6 @@ def init_weights(self, pretrained=None):
self.model_name, pretrained))
else:
print_log('load model from init weights')
self.model.init_weights()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

init_weights has been done in the init of the timm model

@Cathy0908 Cathy0908 merged commit 57ccd90 into alibaba:master Jun 10, 2022
@tuofeilunhifi tuofeilunhifi deleted the bugfix_timm_init_weights branch June 13, 2022 03:42
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

Successfully merging this pull request may close these issues.

2 participants