-
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
Bugfix: Lr finder and hparams compatibility #2821
Bugfix: Lr finder and hparams compatibility #2821
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2821 +/- ##
======================================
Coverage 89% 89%
======================================
Files 79 79
Lines 7302 7302
======================================
Hits 6514 6514
Misses 788 788 |
If setting the attribute failed before, it means that we have no tests for the LRfinder that involves setting the learning rate. I expected such a test case with this fix. What do you think? |
@awaelchli I am pretty sure that there should be test for this, but I will definitely check up on it and add if missing (fix if broken) |
Hello @SkafteNicki! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-08-06 11:31:14 UTC |
@awaelchli you were right, the test did not check this since the base testing model |
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.
solid fix! Thanks @SkafteNicki
I imagine a similar problem exists in the batch size finder, so your helper functions added here could be useful there.
looks like GPU tests are failing? |
@williamFalcon It looks like these failing tests come from master |
f57e02d
to
d6a7e43
Compare
if has been rebased (master is fixed) but it is still failing, @SkafteNicki mind check it? @nateraw any idea why this fails?
|
Great job! =) |
What does this PR do?
Fixes #1983
Solves compatibility problem between the (new) hparams interface and the learning rate finder