-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Xception fails to load weights in PyTorch 0.4.0 (with fix) #62
Comments
fabioperez
changed the title
Xception fails to load weights in PyTorch 0.4.0
Xception fails to load weights in PyTorch 0.4.0 (with fix)
Apr 27, 2018
Thanks for submitting this issue. I will try my best to make this lib 0.4.x compatible soon. |
I meet the same error |
Fixed |
I have the same error on torch==1.7.1 I've tried the fix by @fabioperez, but it didn't work.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When loading the Xception net with PyTorch 0.4.0, I got the following error:
I could fix the problem by modifying the shapes of these layers in the weights file:
Other networks may also result in this error.
The text was updated successfully, but these errors were encountered: