Skip to content

Commit

Permalink
Update monai/metrics/generalized_dice.py
Browse files Browse the repository at this point in the history
Co-authored-by: YunLiu <[email protected]>
Signed-off-by: Suraj Pai <[email protected]>
  • Loading branch information
surajpaib and KumoLiu authored Sep 5, 2024
1 parent 4ea6a2c commit 2bc6dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monai/metrics/generalized_dice.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class GeneralizedDiceScore(CumulativeIterationMetric):
def __init__(
self,
include_background: bool = True,
reduction: MetricReduction | str = MetricReduction.MEAN,
reduction: MetricReduction | str = MetricReduction.MEAN_BATCH,
weight_type: Weight | str = Weight.SQUARE,
) -> None:
super().__init__()
Expand Down

0 comments on commit 2bc6dd8

Please sign in to comment.