Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.8k
loading pretrained resent model in Unet encoder#427
ramchandracheke started this conversation inGeneral
-
Hi, |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 2 replies
-
Try model.encoder.load_state_dict() |
BetaWas this translation helpful?Give feedback.
All reactions
🎉 1
2 replies
-
Thanks King for quick reply! |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks@qubvel . That works. There were few extra state_dict in the old_resnet and name was also different. I posted question and solution at :https://discuss.pytorch.org/t/how-to-load-load-state-dict-for-resnet-model/125998 |
BetaWas this translation helpful?Give feedback.
All reactions
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment