From fb6e66067dcd10e5b22aa95847b9db80ba402662 Mon Sep 17 00:00:00 2001 From: Suraj Pai Date: Tue, 27 Aug 2024 19:58:44 -0400 Subject: [PATCH] Update version string --- monai/metrics/generalized_dice.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monai/metrics/generalized_dice.py b/monai/metrics/generalized_dice.py index feda453935..ffcc1e0796 100644 --- a/monai/metrics/generalized_dice.py +++ b/monai/metrics/generalized_dice.py @@ -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__( @@ -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", )