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 ae6dafb commit 697a358Copy full SHA for 697a358
torchvision/utils.py
@@ -187,7 +187,7 @@ def draw_bounding_boxes(
187
`/System/Library/Fonts/` and `~/Library/Fonts/` on macOS.
188
font_size (int): The requested font size in points.
189
label_colors (color or list of colors, optional): Colors for the label text. See the description of the
190
- `colors` argument for details. Defaults to the same colors used for the boxes.
+ `colors` argument for details. Defaults to the same colors used for the boxes, or to black if ``fill_labels`` is True.
191
fill_labels (bool): If `True` fills the label background with specified box color (from the ``colors`` parameter). Default: False.
192
193
Returns:
0 commit comments