-
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
Restore trainer.current_epoch
after tuning
#7434
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7434 +/- ##
======================================
- Coverage 92% 92% -0%
======================================
Files 200 199 -1
Lines 12992 12988 -4
======================================
- Hits 11918 11910 -8
- Misses 1074 1078 +4 |
tests/tuner/test_lr_finder.py
Outdated
'callbacks', | ||
'logger', | ||
'max_steps', | ||
'auto_lr_find', | ||
'accumulate_grad_batches', | ||
'checkpoint_callback', | ||
'current_epoch', |
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.
one could consider alphabetical ordering 😃
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.
n00b question: how do we know this is the exhaustive list?
* Add a test * Save and restore current_epoch * Update CHANGELOG * alphabetical order (cherry picked from commit 710b144)
* Add a test * Save and restore current_epoch * Update CHANGELOG * alphabetical order (cherry picked from commit 710b144)
* Add a test * Save and restore current_epoch * Update CHANGELOG * alphabetical order (cherry picked from commit 710b144)
What does this PR do?
Fixes #5587.
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list: