-
Notifications
You must be signed in to change notification settings - Fork 357
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
Logging PyTorch scalars #61
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With latest tensorwatch and pytorch 1.4, I would expect the following code, based on the example in readme to create a plot of loss:
However, the plot remains empty when logging the pytorch scalar. Only when I reshape it to a 1x1 matrix with
loss.reshape((1,1))
does the plot update in jupyter notebook.I personally found this confusing - I think it would be very useful to have direct support for scalars here.
The text was updated successfully, but these errors were encountered: