Optional Metrics #3392
EricZimmermann
started this conversation in
General
Replies: 2 comments 3 replies
-
Hi @EricZimmermann , Currently, we usually compute metrics on non-nan values and do reduction when epoch completed, for example: Thanks. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@Nic-Ma |
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.
-
Hello,
Does Monai have any standardized way to do group-wise metrics? For example, if I have data coming from multiple cohorts (trials, sources, etc) I want to know how my model is performing on each individual cohort (ex dice cohort 1, dice cohort 2..) as well as globally (dice over entire set). If I attach a metric to an ignite engine, there is no guarantee that a single batch has samples coming from all cohorts. In this case, at event iteration completed, certain metrics may have empty or NoneType values and would break the metric trying to access a null value in an output.
I currently have a fix / wrapper for this kind of problem but I was wondering if there would be any native support coming? Also looking at work arounds for multiple datasets / loaders attached to an engine.
Beta Was this translation helpful? Give feedback.
All reactions