MisconfigurationException: Could not find the LightningModule attribute for the torchmetrics.Metric logged. You can fix this by setting an attribute for the metric in your LightningModule.
#10178
Answered
by
adrian-jaques-b
adrian-jaques-b
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
Throws this Exception. IDK what to do. Can anyone help me?Code: This gives me: |
Beta Was this translation helpful? Give feedback.
Answered by
adrian-jaques-b
Oct 28, 2021
Replies: 2 comments 1 reply
-
|
hey @JaquJaqu |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
ok well i got it. Seems like I accidentally updated the module... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adrian-jaques-b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok well i got it. Seems like I accidentally updated the module...