How to print metric value every epoch ? #6407
-
I think I do have logged metrics, how to make it printed beautifully ?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
In pytorch-lightning bolts we have a few extra callbacks, with one of them being the pip install pytorch-lightning-bolts and initialize your trainer as: trainer = Trainer(callbacks=[PrintTableMetricsCallback()]) |
Beta Was this translation helpful? Give feedback.
-
@SkafteNicki, Thank you for you answer. However, I found the solution prints different metric values accross different ddp process. I'm struggling to correctly print the metrics on the end of each epoch, but I meet a lot of problem discribed in this issue: Will you please look through my problems and give some suggestions? Thank you for your help! |
Beta Was this translation helpful? Give feedback.
In pytorch-lightning bolts we have a few extra callbacks, with one of them being the
PrintTableMetricsCallback
callback that should output exactly what you want. Simply install bolts asand initialize your trainer as: