-
Notifications
You must be signed in to change notification settings - Fork 13
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
您好,加载提供的weight.pkl报错? #13
Comments
先把代码中的model文件夹名字改成models,然后加载时用下面代码 |
改名models后,那个错误就过去了,但是出现了新的错. weights = torch.load(path) 报错为: 请问您看从哪方面改一改 |
首先我不是作者哈,我也是遇到问题了进来看看。 |
非常感谢, 我可以改一下网络的定义来加载预训练网络 |
你好,方便提供一下测试的代码嘛,非常感谢 |
你好,我想用您提供的weights.pkl文件进行测试,但是 torch.load()时总是报错.
如图:
我已经试过torch.load()的map_location等设置,但还是加载不成功,报错仍然一样.
请问这个问题是怎么回事?
The text was updated successfully, but these errors were encountered: