Is your feature request related to a problem? Please describe.
For segmentation tasks where the ground truth labels are continuous rather than binary, the DiceMetric fails.
Describe the solution you'd like
Simply put, a version of DiceMetric that allows for continuous labels to be input as y, instead of just binaries.
Describe alternatives you've considered
This would in essence function as MONAI's dice loss, so being able to use losses as metrics would be a suitable workaround.
Is your feature request related to a problem? Please describe.
For segmentation tasks where the ground truth labels are continuous rather than binary, the DiceMetric fails.
Describe the solution you'd like
Simply put, a version of DiceMetric that allows for continuous labels to be input as y, instead of just binaries.
Describe alternatives you've considered
This would in essence function as MONAI's dice loss, so being able to use losses as metrics would be a suitable workaround.