-
Notifications
You must be signed in to change notification settings - Fork 75
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
ModuleNotFoundError: No module named 'torch.utils.serialization' #23
Comments
this was removed in pytorch 1.0. |
首先命令行运行pip install torchfile安装torchfile, from torch.utils.serialization import load_lua --》import torchfile, |
您好,我按照您说的,pip install torchfile,然后将from torch.utils.serialization import load_lua替换为import torchfile,然后将代码中load_lua改为torchfile.load,最后还是遇到了错误,TypeError:‘NoneType’ object is not callable,请问您是没有遇到么,怎么解决的啊 |
你可以登陆这个网站看一下https://blog.csdn.net/kent_xyli/article/details/89187558 |
请问你解决了吗? |
修改完了torchfile 还是有错误 |
这个是你模型没下好,重新下一下就好了 |
how to handle this issue?
The text was updated successfully, but these errors were encountered: