Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.log no longer supports nested metric attributes (e.g. if stored in ModuleDict) #8179

Closed
ethanwharris opened this issue Jun 28, 2021 · 0 comments · Fixed by #8181
Closed
Assignees
Labels
bug Something isn't working help wanted Open to be worked on

Comments

@ethanwharris
Copy link
Member

🐛 Bug

Metric objects stored in a ModuleDict used to be supported but now gives the following error:

pytorch_lightning.utilities.exceptions.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`.

More info in Lightning-Universe/lightning-flash#481

@ethanwharris ethanwharris added bug Something isn't working help wanted Open to be worked on labels Jun 28, 2021
@ethanwharris ethanwharris self-assigned this Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Open to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant