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

hparams are not logged in tensorboard #2371

Closed
pvnieo opened this issue Jun 26, 2020 · 4 comments
Closed

hparams are not logged in tensorboard #2371

pvnieo opened this issue Jun 26, 2020 · 4 comments
Labels
bug Something isn't working help wanted Open to be worked on
Milestone

Comments

@pvnieo
Copy link

pvnieo commented Jun 26, 2020

🐛 Bug

I'm using the latest version of PL. My problem is when I launch an experiment, everything is logged correctly to tensorboard, except the hparams:
image

I tried to launch the cpu_template on a fresh virtual environement, but it didn't work. However, when I launch the pytorch example of logging hparams to tensorboard (https://pytorch.org/docs/stable/tensorboard.html#torch.utils.tensorboard.writer.SummaryWriter.add_hparams), it worked!

To Reproduce

I succeeded to reproduce this using the official MNIST collab (https://colab.research.google.com/drive/1F_RNcHzTfFuQf-LeKvSlud6x7jXYkG31#scrollTo=HOk9c4_35FKg), by skipping the "Simplest example" and excuting directly '1. LightningModule'

Environment

  • PyTorch Version (e.g., 1.0): 1.5
  • OS (e.g., Linux): ubuntu 20.04
  • How you installed PyTorch (conda, pip, source): pip
  • Build command you used (if compiling from source):
  • Python version: 3.8 / 3.6
  • CUDA/cuDNN version: 10.2
  • GPU models and configuration: GeForce GTX 1060
  • Any other relevant information:
@pvnieo pvnieo added bug Something isn't working help wanted Open to be worked on labels Jun 26, 2020
@williamFalcon williamFalcon added this to the 0.9.0 milestone Jun 26, 2020
@david-waterworth
Copy link
Contributor

Not sure if it's related - I'm getting hparams but not metrics #2406

@pvnieo
Copy link
Author

pvnieo commented Jul 1, 2020

UPDATE: I used the same code, with the same version in new folder (just copy past the code), and now I have the hparams, but no metrics!

@awaelchli
Copy link
Member

putting a reminder here that we saw this problem popping up recently in one of the tests.
See here, #2512 (comment)
need to look at the test there to debug the problem.

@edenlightning
Copy link
Contributor

Closing issue. @pvnieo please let us know if you have any issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Open to be worked on
Projects
None yet
Development

No branches or pull requests

5 participants