-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
remove deprecated early_stop_callback #3982
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3982 +/- ##
=======================================
- Coverage 89% 87% -2%
=======================================
Files 216 216
Lines 15569 15600 +31
=======================================
- Hits 13870 13619 -251
- Misses 1699 1981 +282 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it removed BTW?
@rohitgr7 because the 1) we can't guess the monitor key to use for early stopping, it is better for the user to explicitly set it. 2) there should be only one way to pass in callbacks (via callbacks arg) |
@awaelchli what about ModelCheckpoint? It's a callback too right? |
yes, but Lightning does checkpoints by default, and if we removed that argument then there would be no way to turn checkpointing off (i.e. |
So, should one pass ModelCheckpoint inside callbacks or still via checkpoint_callback? |
sorry, missed your question. |
What does this PR do?
remove deprecated
early_stop_callback
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃