Skip to content
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 all relevant (hyper)params to tensorboard #47

Open
Haydnspass opened this issue Feb 12, 2021 · 1 comment
Open

Add all relevant (hyper)params to tensorboard #47

Haydnspass opened this issue Feb 12, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@Haydnspass
Copy link
Collaborator

The stuff that we put in the param.yaml should be also found in the tensorboard logger.
Log it there.

@Haydnspass Haydnspass added the enhancement New feature or request label Feb 12, 2021
@Haydnspass Haydnspass added this to the v1.0 milestone Feb 12, 2021
@ASpeiser
Copy link
Collaborator

Suggestion, something like:

pdict = param.to_dict()
for k in pdict:
    if pdict[k] is not None:
        pstring = pprint.pformat(pdict[k], indent=2).replace('\n  ','  \n')
        writer.add_text(k, pstring)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants