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

萌新提问 #144

Open
WhiteCranes opened this issue Feb 26, 2024 · 1 comment
Open

萌新提问 #144

WhiteCranes opened this issue Feb 26, 2024 · 1 comment

Comments

@WhiteCranes
Copy link

请问
mainpro_FER.py
执行完成之后,可以这样保存模型到文件吗?
torch.save(net, '80.pth')

我训练了80代,另外再次加载模型时,怎么把一张正常的人脸图片传入模型呢?目前我把一个人脸图片裁剪为48*48,但是推理结果的正确度不好

@WeiDai-David
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

2 participants