Dice Metric args are unclear #1458
Unanswered
sh3rlock14
asked this question in
Classification
Replies: 1 comment
-
I also stumbled upon the same issue, I think this is a bug in the library, see my comment: #1425 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I was implementing a 3D volume segmentation model and hence I wanted to use torchmetrics Dice Score...
Alas, when I tried to use Dice I discovered that by setting some args, such as
average = None
, even if the docs let intend that is allowed, it is not!Indeed: at row 140 there's:
average: Optional[Literal["micro", "macro", "weighted", "none"]] = "micro",
,but at row 166 we have:
I was also wondering if your Dice support the
preds
and theg_truth
to be in "one hot format" (not one hot encoding: I am in a multi-class, multi-label scenario, so I can have more than one "1" along C dim).Thanks in advance for your help 🙏🏻 !
Mattia
Beta Was this translation helpful? Give feedback.
All reactions