Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bug fix: add missing args in load_checkpoint() #93

Merged
merged 1 commit into from
Aug 8, 2020

Conversation

dreamerlin
Copy link
Collaborator

No description provided.

@innerlee innerlee merged commit e55dc23 into open-mmlab:master Aug 8, 2020
@@ -508,7 +508,8 @@ def init_weights(self):
self.pretrained, strict=False, logger=logger)
else:
# ours
load_checkpoint(self.pretrained, strict=False, logger=logger)
load_checkpoint(
self, self.pretrained, strict=False, logger=logger)
Copy link
Member

Choose a reason for hiding this comment

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

Do not let users specify the argument torchvision_pretrain. It can be inferred from the checkpoint.

Copy link
Contributor

Choose a reason for hiding this comment

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

how to infer

@dreamerlin dreamerlin deleted the fix branch August 20, 2020 20:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants