We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0588026 commit f620859Copy full SHA for f620859
torchvision/utils.py
@@ -224,9 +224,9 @@ def draw_bounding_boxes(
224
225
colors = _parse_colors(colors, num_objects=num_boxes)
226
if label_colors:
227
- label_colors = _parse_colors(label_colors, num_objects=num_boxes)
+ label_colors = _parse_colors(label_colors, num_objects=num_boxes) # type: ignore[assignment]
228
else:
229
- label_colors = colors.copy()
+ label_colors = colors.copy() # type: ignore[assignment]
230
231
if font is None:
232
if font_size is not None:
0 commit comments