Skip to content

Commit c2b5fc4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fce8287 commit c2b5fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/metrics/meandice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def __call__(self, y_pred: torch.Tensor, y: torch.Tensor) -> torch.Tensor | tupl
314314
n_ch = self.num_classes or y_pred.shape[1]
315315
if y.ndim == y_pred.ndim and y.shape[-1] in (1, n_ch):
316316
y, _ = ensure_channel_first(y)
317-
317+
318318

319319
_apply_argmax, _threshold = self.apply_argmax, self.threshold
320320
if self.num_classes is None:

0 commit comments

Comments
 (0)