CocoDataset.apply_transform#

CocoDataset.apply_transform(img, bboxes)[source]#

Implement the transform in a function to be able to override it in tests.