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

请问有添加早停机制的打算吗? #94

Closed
catqaq opened this issue Feb 10, 2022 · 3 comments
Closed

请问有添加早停机制的打算吗? #94

catqaq opened this issue Feb 10, 2022 · 3 comments

Comments

@catqaq
Copy link

catqaq commented Feb 10, 2022

您好,工具非常好用!
我们在使用过程中经常会遇到过拟合,请问有添加早停机制的打算吗?或者我们自己添加的话,从哪儿入手比较合适,比如你们提供的callback接口?

@airaria
Copy link
Owner

airaria commented Feb 11, 2022 via email

@catqaq
Copy link
Author

catqaq commented Feb 11, 2022

@airaria 感谢回复,刚才我添加了eval_callback,但出现了一个奇怪的现象,有无eval_callback会对蒸馏结果产生影响,暂不清楚原因。

@catqaq
Copy link
Author

catqaq commented Feb 14, 2022

@airaria 参考您提供的替代方案,我们利用callback实现了早停机制,感谢。不过并没有通过存取文件的方式来使用指标,而是魔改了save_and_callback等函数实现的。

@catqaq catqaq closed this as completed Feb 14, 2022
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