Logging a class-wise metric with ClasswiseWrapper #1462
Unanswered
blazejdolicki
asked this question in
Classification
Replies: 1 comment 1 reply
-
same here |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone, I am trying to log the metric Dice(average="none") to Neptune using torchmetrics and pytorch lightning. Because this is a class-wise metric, it returns a tensor of shape (num_classes) instead of a scalar which makes it a bit complicated. I found this issue and PR which were supposed to solve the problem, but when I try to use them, I am still getting an error. I would appreciate any hints whether I am doing something wrong in my code or this is just not supported :)
My code looks something like this:
The error:
Beta Was this translation helpful? Give feedback.
All reactions