Skip to content

Commit

Permalink
2024-12-02 nightly release (cd839f1)
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot committed Dec 2, 2024
1 parent 0588026 commit f620859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchvision/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def draw_bounding_boxes(

colors = _parse_colors(colors, num_objects=num_boxes)
if label_colors:
label_colors = _parse_colors(label_colors, num_objects=num_boxes)
label_colors = _parse_colors(label_colors, num_objects=num_boxes) # type: ignore[assignment]
else:
label_colors = colors.copy()
label_colors = colors.copy() # type: ignore[assignment]

if font is None:
if font_size is not None:
Expand Down

0 comments on commit f620859

Please sign in to comment.