diff --git a/mmengine/visualization/visualizer.py b/mmengine/visualization/visualizer.py index a0d579a4d9..0e90c184a6 100644 --- a/mmengine/visualization/visualizer.py +++ b/mmengine/visualization/visualizer.py @@ -879,7 +879,7 @@ def draw_binary_masks( if binary_masks.ndim == 2: binary_masks = binary_masks[None] assert img.shape[:2] == binary_masks.shape[ - 1:], '`binary_marks` must have ' \ + 1:], '`binary_masks` must have ' \ 'the same shape with image' binary_mask_len = binary_masks.shape[0]