Replies: 2 comments
-
Here's exactly what's happening:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
One issue in your wrapper class is that in the def reset(self):
super().reset()
self. monai_metric.reset() Also make sure to configure aggregations / reductions correctly. I think monai's implementation using |
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!
I would like to have a TorchMetrics wrapper around MONAI metrics. I initially implemented this, but I realized that it does not work properly, and I assume it is because of lack of
.add_state()
:How would you go about doing that?
Beta Was this translation helpful? Give feedback.
All reactions