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

请教一个训练的问题 #18

Open
buptcwk opened this issue Dec 11, 2019 · 3 comments
Open

请教一个训练的问题 #18

buptcwk opened this issue Dec 11, 2019 · 3 comments

Comments

@buptcwk
Copy link

buptcwk commented Dec 11, 2019

main.py里,第165行写了net.eval(),为什么在评估完验证集结果后不需要写net.train()把模式转换回去呢?

@chenxofhit
Copy link

切换回去的必要性是什么?

@buptcwk
Copy link
Author

buptcwk commented Dec 12, 2019

切换回去的必要性是什么?

评估完验证集不是会继续回到循环再进行下一个epoch的训练么?不需要转换回去吗

@chenxofhit
Copy link

从逻辑上讲应该不会来回切换的 @buptcwk

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