File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 5353from 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
6657pytestmark = [pytest .mark .filterwarnings ("error" )]
6758
You can’t perform that action at this time.
0 commit comments