Skip to content

Commit

Permalink
Update version string
Browse files Browse the repository at this point in the history
  • Loading branch information
surajpaib committed Aug 27, 2024
1 parent 3805fea commit fb6e660
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monai/metrics/generalized_dice.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ class GeneralizedDiceScore(CumulativeIterationMetric):
"reduction",
old_default=MetricReduction.MEAN_BATCH,
new_default=MetricReduction.MEAN,
since="1.4.0",
replaced="1.4.0",
since="1.3.3",
replaced="1.3.3",
msg_suffix="Old versions computed `mean` when `mean_batch` was provided due to bug in reduction",
)
def __init__(
Expand Down Expand Up @@ -89,7 +89,7 @@ def _compute_tensor(self, y_pred: torch.Tensor, y: torch.Tensor) -> torch.Tensor

@deprecated_arg(
"reduction",
since="1.4.0",
since="1.3.3",
removed="1.7.0",
msg_suffix="Reduction will be ignored. Set reduction during init. as gen.dice needs it during compute",
)
Expand Down

0 comments on commit fb6e660

Please sign in to comment.