From 67c9e9e40a0c2a89ba9f035048e3e9c23089378c Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Tue, 4 Jun 2024 14:53:46 +0100 Subject: [PATCH] Fix doc --- torchvision/transforms/v2/_misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torchvision/transforms/v2/_misc.py b/torchvision/transforms/v2/_misc.py index 29c78ef6f77..93198f0009d 100644 --- a/torchvision/transforms/v2/_misc.py +++ b/torchvision/transforms/v2/_misc.py @@ -359,8 +359,8 @@ class SanitizeBoundingBoxes(Transform): cases. Args: - min_size (float, optional) The size below which bounding boxes are removed. Default is 1. - min_area (float, optional) The area below which bounding boxes are removed. Default is 1. + min_size (float, optional): The size below which bounding boxes are removed. Default is 1. + min_area (float, optional): The area below which bounding boxes are removed. Default is 1. labels_getter (callable or str or None, optional): indicates how to identify the labels in the input (or anything else that needs to be sanitized along with the bounding boxes). By default, this will try to find a "labels" key in the input (case-insensitive), if