-
Notifications
You must be signed in to change notification settings - Fork 131
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
RuntimeError: self.net.module.load_state_dict(obj['net']) #9
Comments
Sorry, I forgot to change the keys' names |
3x for reply, so how to solve it? |
I will upload a usable pth sooner. |
@XiaLiPKU , |
same problem here |
it occurs to me: |
Now, I have updated the pretrained model and the link. |
Now I have updated the pth file. Please download it again. |
using the pretrained model throw out this error:
RuntimeError: Error(s) in loading state_dict for EMANet:
Missing key(s) in state_dict: "extractor.4.0.conv1.weight", "extractor.4.0.bn1.weight", "extractor.4.0.bn1.bias", "extractor.4.0.bn1.running_mean", "extractor.4.0.bn1.running_var", "extractor.4.0.conv2.weight", ......
Unexpected key(s) in state_dict: "layer1.0.0.conv1.weight", "layer1.0.0.bn1.weight", "layer1.0.0.b
someone can help?
The text was updated successfully, but these errors were encountered: