Skip to content

Commit a81fce1

Browse files
林旻佑林旻佑
authored andcommitted
Fix: correct import, English docstring, safer channel heuristic; robust y channel-last detection (refs #8366)
Signed-off-by: 林旻佑 <linminyou@linminyoudeMacBook-Air.local>
1 parent 02d528c commit a81fce1

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
@@ -15,7 +15,7 @@
1515

1616
from monai.metrics.utils import do_metric_reduction
1717
from monai.utils import MetricReduction, deprecated_arg
18-
from monai.metrics.utils import ensure_channel_first
18+
from monai.inferers.utils import ensure_channel_first
1919

2020

2121
from .metric import CumulativeIterationMetric

0 commit comments

Comments
 (0)