Skip to content

Commit 0fea070

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

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
@@ -309,7 +309,7 @@ def __call__(self, y_pred: torch.Tensor, y: torch.Tensor) -> torch.Tensor | tupl
309309
the number of channels is inferred from ``y_pred.shape[1]`` when ``num_classes is None``.
310310
y: ground truth with shape (batch_size, num_classes or 1, spatial_dims...).
311311
"""
312-
312+
313313

314314
# --- Normalize layout to channel-first (N, C, spatial...) ---
315315
# Prefer a strong signal when available.

0 commit comments

Comments
 (0)