-
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
BUG - Wandb: Sanitize callable. #4320
Conversation
Hello @tchaton! Thanks for updating this PR. There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-10-26 11:22:31 UTC |
Codecov Report
@@ Coverage Diff @@
## master #4320 +/- ##
======================================
Coverage 93% 93%
======================================
Files 111 111
Lines 8049 8063 +14
======================================
+ Hits 7469 7483 +14
Misses 580 580 |
Co-authored-by: Adrian Wälchli <[email protected]>
@@ -138,3 +138,4 @@ mlruns/ | |||
*.ckpt | |||
pytorch\ lightning | |||
test-reports/ | |||
wandb |
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.
how it happens that this folder is created?
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.
wandb logger always makes this folder, we can't avoid this. I have it too. I think it's ok to add it to gitignore.
This pull request is now in conflict... :( |
return val.__name__ | ||
return _val | ||
except Exception: | ||
return val.__name__ |
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.
see #4380, not all objects have __name__
maybe we need __class__.__name__
What does this PR do?
This PR add sanitisation for
Trainer.add_argparse_args
which could be function.Behaviour:
Fixes #4276
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃