From 9ecced821b7b06ba2ae2c86b938b83394bbeab7f Mon Sep 17 00:00:00 2001 From: Hiram Foster Date: Mon, 22 Apr 2024 07:51:59 -0400 Subject: [PATCH] Fix a typo (#1532) --- mmengine/visualization/visualizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]