You are trying to self.log()
but it is not managed by the Trainer
control flow
#12660
Unanswered
nian-liu
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 2 replies
-
hey @nian-liu ! are you sure these are all the if possible can you share your code? or a reproducible script using https://colab.research.google.com/github/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/bug_report/bug_report_model.ipynb |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Hello everyone,
I am new to pytorch-lighting and I have the following error with a simple classification code:


I am using self.log() like this:
This error still occurs even I comment all these self.log() lines. Any suggestion will be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions