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

TensorMetric cannot be imported #7248

Closed
smiles724 opened this issue Apr 28, 2021 · 2 comments
Closed

TensorMetric cannot be imported #7248

smiles724 opened this issue Apr 28, 2021 · 2 comments
Assignees
Labels
help wanted Open to be worked on question Further information is requested

Comments

@smiles724
Copy link

Hi, I cannot import TensorMetric in my 1.2.10 version of pytorch lightning. I found that others used it successfully in 0.9.0. Does this function deprecate in a higher version?

@smiles724 smiles724 added bug Something isn't working help wanted Open to be worked on labels Apr 28, 2021
@carmocca carmocca added question Further information is requested and removed bug Something isn't working labels Apr 28, 2021
@Borda
Copy link
Member

Borda commented Apr 28, 2021

@Wufang1997 can you share some more details and what libs do you have installed?

pip list | grep lightning
pip list | grep torch

@SkafteNicki
Copy link
Member

TensorMetric was removed in v1.0 of lightning when metrics was completely revamped in this PR #3868.
All metric development has been moved to torchmetrics and I recommend that you checkout the base metric class torchmetrics.Metric that hopefully should fill out your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Open to be worked on question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants