val loss and accuracy not logging #20314
Unanswered
gkrampah
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this is my code and I am having difficulty getting the CVS logger and tensorboard loggers to output the validation loss and accuracies after each epoch. The training parameters are properly logged. I am using the latest version of lightning. Any assistance will be highly appreciated.
def _shared_step(self, batch):
features, true_labels = batch["Sample"], batch["Label"].long()
logits = self(features)
Beta Was this translation helpful? Give feedback.
All reactions