MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / __call__

Method __call__

tutorials/motr/transforms.py:576–581  ·  view source on GitHub ↗
(self, imgs, targets)

Source from the content-addressed store, hash-verified

574
575class MotRandomErasing(RandomErasing):
576 def __call__(self, imgs, targets):
577 # TODO: Rewrite this part to ensure the data augmentation is same to each image.
578 ret_imgs = []
579 for img_i, targets_i in zip(imgs, targets):
580 ret_imgs.append(self.eraser(img_i))
581 return ret_imgs, targets
582
583
584class MoTColorJitter(T.ColorJitter):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected