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

PyTorch: File does not contain root module or state dictionary #70

Open
scottcali opened this issue May 15, 2024 · 2 comments
Open

PyTorch: File does not contain root module or state dictionary #70

scottcali opened this issue May 15, 2024 · 2 comments

Comments

@scottcali
Copy link

Hello,

After I downloaded all the pth models, and open it with netron. They cannot be open and have all the same error:
  PyTorch: File does not contain root module or state dictionary 

Could you please fix them? 

Thanks!

-Scott

@nagadit
Copy link
Collaborator

nagadit commented May 16, 2024

Hello @scottcali !!
Can you please tell us in more detail in what cases and where you receive this error?

What version of netron are you using and what model are you trying to load?

@scottcali
Copy link
Author

Download Netron from https://github.com/lutzroeder/netron , Netron is a viewer for neural network, deep learning and machine learning models.

Download any pth model from https://github.com/hukenovs/hagrid

And open the model with Netron, you will see error, and the browser will go to this url: lutzroeder/netron#543

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

No branches or pull requests

2 participants