Skip to content

Commit

Permalink
Fix a typo (open-mmlab#1532)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiramf authored Apr 22, 2024
1 parent 39ed23f commit 9ecced8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmengine/visualization/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 9ecced8

Please sign in to comment.