Skip to content

Commit 56e109b

Browse files
committed
Merge branch 'aelfjnalfjenaef' of github.com:nicolashug/vision into aelfjnalfjenaef
2 parents a4bb341 + 8de061b commit 56e109b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchvision/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ def draw_bounding_boxes(
224224

225225
colors = _parse_colors(colors, num_objects=num_boxes)
226226
if label_colors:
227-
label_colors = _parse_colors(label_colors, num_objects=num_boxes)
227+
label_colors = _parse_colors(label_colors, num_objects=num_boxes) # type: ignore[assignment]
228228
else:
229-
label_colors = colors.copy()
229+
label_colors = colors.copy() # type: ignore[assignment]
230230

231231
if font is None:
232232
if font_size is not None:

0 commit comments

Comments
 (0)