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

请教如何加载已训练好的SANER_WB.pth模型并展示测试结果? #16

Open
thejacoblu opened this issue Oct 18, 2021 · 4 comments

Comments

@thejacoblu
Copy link

thejacoblu commented Oct 18, 2021

不知道如何编写测试代码,望指教

@thejacoblu thejacoblu changed the title 请教如何加载已训练好SANER_WB.pth模型并展示测试结果? 请教如何加载已训练好的SANER_WB.pth模型并展示测试结果? Oct 18, 2021
@nyy477
Copy link
Collaborator

nyy477 commented Oct 19, 2021

hello,同学,就按照readme里面的步骤一步一步走就可以了呀,请问在哪一步遇到了问题呢

@thejacoblu
Copy link
Author

hello,同学,就按照readme里面的步骤一步一步走就可以了呀,请问在哪一步遇到了问题呢

感谢回复!是这样的:我模型已经跑完了,也已经保存在了.pth文件里,现在就是想知道如何加载这个已经训练好的.pth模型并在测试集上运行,展示结果

@thejacoblu
Copy link
Author

尝试自己编写测试代码之后,发现自动保存的模型和您提供的SANER_WB.pth模型好像在参数设置上还不一样,不知道要怎么跑通,望指教

@Xiexiexiewr
Copy link

同学,请问你测试代码写出来了吗?

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

3 participants