-
Notifications
You must be signed in to change notification settings - Fork 230
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
为什么训练之后的pth,在进行load时报错 #42
Comments
你是训练的时候修改了网络结构还是什么?按正常流程训练完加载是没问题的,要么就是cfg相应位置没修改 |
或者说我经过咱们这个系统训练完的pth文件,应该怎么在别的地方加载呢 |
torchvision对应的网络模型键名对不上当然权重无法映射,得在该项目下训才可以 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我下载的pth文件可以进行load,但是在训练之后为什么就不可以了,是因为模型结构发生了变化吗,那我应该怎么加载呢,比如当我想要进行部署的时候
The text was updated successfully, but these errors were encountered: