-
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
Fix Metric.state_dict #5614
Fix Metric.state_dict #5614
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5614 +/- ##
======================================
- Coverage 93% 93% -0%
======================================
Files 135 135
Lines 10029 10034 +5
======================================
+ Hits 9364 9366 +2
- Misses 665 668 +3 |
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.
some comments, but PR is looking good :]
@teddykoker @SkafteNicki @justusschock mind re-review? |
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.
LGTM
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.
LGTM !
* Fix Metric.state_dict * Update CHANGELOG.md * Update CHANGELOG.md * Detach tensors in a list if needed Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit e87424a)
* Fix Metric.state_dict * Update CHANGELOG.md * Update CHANGELOG.md * Detach tensors in a list if needed Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit e87424a)
* Fix Metric.state_dict * Update CHANGELOG.md * Update CHANGELOG.md * Detach tensors in a list if needed Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit e87424a)
* Fix Metric.state_dict * Update CHANGELOG.md * Update CHANGELOG.md * Detach tensors in a list if needed Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit e87424a)
What does this PR do?
Fixes #5603 :
The state of
metric
is not added to thestate_dict
ofBoringModel
.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: