Skip to content

cannot import name 'Accuracy' #470

Answered by phiyodr
Sarmadfismael asked this question in Q&A
Discussion options

You must be logged in to vote

You need to import Accuracy like this (no need for .classification):

from torchmetrics import Accuracy 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SkafteNicki
Comment options

Answer selected by SkafteNicki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants