Cant see validation accuracy & loss in validation_step? #13726
Replies: 7 comments 4 replies
-
Machine: Ubuntu 20.04 |
Beta Was this translation helpful? Give feedback.
-
the configuration looks correct, can you reproduce this issue using BoringModel? |
Beta Was this translation helpful? Give feedback.
-
It seems your code is correct. However, defining custom .info in the lightning module would solve the problem. def info(self, dictionary: dict) -> None:
for key, value in dictionary.items():
self.log(key, value, prog_bar=True) then, put this on your validation_step self.info(
{
f'{stage}_loss': loss, # can put anything you want to display on progress bar.
}
) If this could not solve your problem, then check out the Nvidia NeMo's logger. your issue can be related to Nvidia NeMo's logger. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately this did not work. My progress bar for training goes only till 50% and my validation progress bar doesnt even appear. I'm still debugging with my dataloader |
Beta Was this translation helpful? Give feedback.
-
A small update on this: it seems like my train dataloader finishes its job but my val dataloder is not able to iterate. I checked the size of val loader and its huge. Any way to debug this? @rohitgr7 @Klassikcat |
Beta Was this translation helpful? Give feedback.
-
hey @SamPusegaonkar ! can you try running if it still doesn't work or gives any errors, please paste them here. |
Beta Was this translation helpful? Give feedback.
-
I have the same issue, was able to work around it with this callback:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am trying to log validation loss and accuracy on my progress bar.
I am running this for 2 epochs.
So, far in my progress bar, I can only see a loss. When an epoch finishes I see train loss/accuracy but not validation loss/acc.
Any clue whats happening here?
Beta Was this translation helpful? Give feedback.
All reactions