-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Logging Non-matching keys when loading from checkpoint in non-strict … #8152
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
Logging Non-matching keys when loading from checkpoint in non-strict … #8152
Conversation
Co-authored-by: ananthsub <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #8152 +/- ##
=======================================
- Coverage 93% 88% -5%
=======================================
Files 212 212
Lines 13595 13581 -14
=======================================
- Hits 12633 11941 -692
- Misses 962 1640 +678 |
Co-authored-by: ananthsub <[email protected]>
…hing-keys-in-non-strict-mode
https://github.com/karthikrangasai/pytorch-lightning into feature/8119_log-non-matching-keys-in-non-strict-mode
Head branch was pushed to by a user without write access
carmocca
left a comment
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.
I don't think we need a test since this is just printing an output from PyTorch
Co-authored-by: Carlos Mocholí <[email protected]>
|
Hello @karthikrangasai! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-06-30 17:33:21 UTC |
for more information, see https://pre-commit.ci
What does this PR do?
When the model is loaded from a previous checkpoint with
strict=Falsewe can inform the user regarding the missing keys and unexpected keys.Fixes #8119
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:
Did you have fun?
Make sure you had fun coding 🙃