-
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 logger, tensorboard #610
Conversation
try: | ||
# in case converting from namespace, todo: rather test if it is namespace | ||
params = vars(params) | ||
except TypeError: | ||
pass | ||
if params is not None: | ||
self.experiment.add_hparams(hparam_dict=dict(params)) |
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.
What problem is this fixing? The current implementation is consistent with all the other loggers.
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.
a dictionary cannot be converted via vars
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.
Just for future reference, do we pass a dict anywhere? I thought we always passed some form of Namespace.
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.
In almost all tests... =)
Thanks for the bug fixes. I think maybe I did a rebase right at the end and forgot to re-run the tests. I promise they were all passing at some point. |
well, not only, also |
Yeah, missing the |
It is fixed, but more serious is missing |
What does this PR do?
Fixes #607 to be able to do #609
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.