Skip to content

Commit 72b33b0

Browse files
Remove unused SUPPORTED_BOX_FORMATS variable
1 parent 5a35f3f commit 72b33b0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/test_transforms_v2.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@
5353
from torchvision.transforms.v2.functional._utils import _get_kernel, _register_kernel_internal
5454

5555

56-
# While we are working on adjusting transform functions
57-
# for rotated and oriented bounding boxes formats,
58-
# we limit the perimeter of tests to formats
59-
# for which transform functions are already implemented.
60-
# In the future, this global variable will be replaced with `list(tv_tensors.BoundingBoxFormat)`
61-
# to support all available formats.
62-
SUPPORTED_BOX_FORMATS = [tv_tensors.BoundingBoxFormat[x] for x in ["XYXY", "XYWH", "CXCYWH"]]
63-
NEW_BOX_FORMATS = [tv_tensors.BoundingBoxFormat[x] for x in ["XYWHR", "CXCYWHR", "XYXYXYXY"]]
64-
6556
# turns all warnings into errors for this module
6657
pytestmark = [pytest.mark.filterwarnings("error")]
6758

0 commit comments

Comments
 (0)