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

如何选择最优模型? #40

Open
21-10-4 opened this issue Mar 21, 2024 · 1 comment
Open

如何选择最优模型? #40

21-10-4 opened this issue Mar 21, 2024 · 1 comment

Comments

@21-10-4
Copy link

21-10-4 commented Mar 21, 2024

我在train.py中,看到间隔几个epoch保存模型,但是如何选择最优模型?是把保存下来的模型依次跑一遍test.py,选择最好的吗

@21-10-4 21-10-4 changed the title 如果选择最优模型? 如何选择最优模型? Mar 22, 2024
@hitachinsk
Copy link
Owner

其实不是,为了公平比较,基本上保存的模型是最后的模型。其实模型只要收敛就行了,训练到后面的话我们发现多训练几次少训练几次对性能差距影响可能很小。

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