-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Generalize Metric to any loss function #3694
Copy link
Copy link
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Is your feature request related to a problem? Please describe.
If I introduce a new loss function, I have to change the metric as well. For example: monai.losses.Dice and monai.metrics.DiceMetric. Most of the losses have not a metric associated.
Describe the solution you'd like
I wonder if the metrics can be made general to any loss function. Where the loss function would be an argument of the metric. Other metric arguments would be the reduction method and similar things.
Describe alternatives you've considered
The alternative is to develop my own Metric every time I change the loss function. But not ideal imo.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested