-
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
Add Support for Non-primitive types in TensorboardLogger #1130
Conversation
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.
good approach, pls have look at my comments 🤖
- pls add note to changelog...
…. Cleaned up _sanitize_params
Hello @monney! Thanks for updating this PR.
Comment last updated at 2020-03-14 01:29:42 UTC |
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
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 🚀
…I#1130) * Added support for non-primitive types to tensorboard logger * added EOF newline * PEP8 * Updated CHANGELOG for PR Lightning-AI#1130. Moved _sanitize_params to base logger. Cleaned up _sanitize_params * Updated CHANGELOG for PR Lightning-AI#1130. Moved _sanitize_params to base logger. Cleaned up _sanitize_params * changed convert_params to static method * PEP8 * Cleanup Doctest for _sanitize_params Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com> * Removed OrderedDict import * Updated import order to conventions Co-authored-by: Manbir Gulati <manbirgulati@Manbirs-MBP.hsd1.md.comcast.net> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Before submitting
What does this PR do?
Implements suggestions from #1095 . Specifically makes it so TensoboardLogger converts non-primitive types to strings before logging, and maintains original types in hparams.
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 🙃