-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Fix] Fix bug of lr updater hook #907
[Fix] Fix bug of lr updater hook #907
Conversation
Codecov Report
@@ Coverage Diff @@
## master #907 +/- ##
==========================================
+ Coverage 64.62% 65.34% +0.72%
==========================================
Files 148 148
Lines 9354 9390 +36
Branches 1698 1715 +17
==========================================
+ Hits 6045 6136 +91
+ Misses 2962 2914 -48
+ Partials 347 340 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
ping @nbei |
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.
Could this pr contain the unit test for the modified parts?
OK ping @nbei |
Agree to refactor the test_hooks directory. The test_hooks.py can also be moved into test_hooks/ directory. |
Got it, I will refactor the unit test of hooks in the next PR. |
Fix bug of #887
[Next PR]
I will do more unittest in https://github.com/open-mmlab/mmcv/blob/master/tests/test_runner/test_hooks.py.
But, maybe we should refactor the code
test_hooks.py
to make the test logic clearer.to