MulticlssIoU, MulticlssDice ImportError #2923
Unanswered
TheArchitect416
asked this question in
Classification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To Reproduce
Steps to reproduce the behavior...
Tried in python3.9 local machine and colab
used the below line to install torchmetrics
pip install torchmetrics
--> from torchmetrics.classification import MulticlassIoU, MulticlassDice
Triggers the following error:
ImportError: cannot import name 'MulticlassIoU' from 'torchmetrics.classification' (/usr/local/lib/python3.11/dist-packages/torchmetrics/classification/init.py)
Beta Was this translation helpful? Give feedback.
All reactions