How to show the validation loss in progress bar? #11412
Answered
by
akihironitta
FeryET
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
Hi. I'm trying to come up with ways to get my validation loss shown in the progress bar. My model is defined like this:
But as of now none of my metrics nor my validation loss comes up in the progress bar. Is it because I'm returning Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
akihironitta
Jan 11, 2022
Replies: 1 comment
-
Hi @FeryET, I believe the below should work as documented in https://pytorch-lightning.readthedocs.io/en/latest/extensions/logging.html#automatic-logging. self.log(..., prog_bar=True) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FeryET
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @FeryET, I believe the below should work as documented in https://pytorch-lightning.readthedocs.io/en/latest/extensions/logging.html#automatic-logging.