-
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
How to print acc while training? #4850
Comments
Hi! thanks for your contribution!, great first issue! |
Like in Keras: We set: Then can get: And default in lightning: Only have loss. |
Hey thanks for your question. In lightning we have the Metrics Package that also describes it's usage and if you log them with Hope this answers your question :) |
Thx, it seems like useful! I am going to have a try! |
It is a little strange, when I run in version 1.0.8, the bar cannot show acc and loss is nan, |
cc @teddykoker @ananyahjha93 any idea on this? |
I'll have to see what changes have been added in between, nothing that I am aware of should cause this issue. |
🚀 Feature
Hi, I wanna print acc(or other metrics) while training in the traing bar,(just like Keras).
And for pytorch, I can compute cumulative acc for every training batch and print it,
However, In lightning, maybe I can compute cumulative acc in training_step(), but it seems like I can only print at the val time? How to print it in the training bar?
I am new to pytorch-lightning, so maybe there is something I missed in the docs?
Motivation
To know the training status at every batch, not every epoch (like training_epoch_end() ).
possibly related issue: 100
The text was updated successfully, but these errors were encountered: