PyTorch: File does not contain root module or state dictionary
scottcali opened this issue · 2 comments
scottcali commented
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 commented
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 commented
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