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

Can the model be stopped early during custom training? #1071

Open
MrLangZe opened this issue Feb 21, 2025 · 2 comments
Open

Can the model be stopped early during custom training? #1071

MrLangZe opened this issue Feb 21, 2025 · 2 comments

Comments

@MrLangZe
Copy link

Hi,when I was customizing the training process, I found that sometimes the model would not stop early at the best performing epoch, and I couldn't seem to find a parameter that could stop training when the model performed best. Is there any way to solve this problem?

@qubvel
Copy link
Collaborator

qubvel commented Feb 24, 2025

Hey, please check on how to add early stopping callback for pytorch lightning (you can Google it)

@MrLangZe
Copy link
Author

嘿,请检查如何为 pytorch lightning 添加提前停止回调(你可以谷歌一下)

Thank you very much for your reply,

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