cannot import name 'Accuracy' #470
Answered
by
phiyodr
Sarmadfismael
asked this question in
Q&A
-
ImportError Traceback (most recent call last) ImportError: cannot import name 'Accuracy' from 'torchmetrics.classification' (unknown location) |
Beta Was this translation helpful? Give feedback.
Answered by
phiyodr
Aug 19, 2021
Replies: 1 comment 1 reply
-
You need to import Accuracy like this (no need for from torchmetrics import Accuracy |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
SkafteNicki
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to import Accuracy like this (no need for
.classification
):