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

Method __call__

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

Source from the content-addressed store, hash-verified

583
584class MoTColorJitter(T.ColorJitter):
585 def __call__(self, imgs, targets):
586 transform = self.get_params(self.brightness, self.contrast,
587 self.saturation, self.hue)
588 ret_imgs = []
589 for img_i, targets_i in zip(imgs, targets):
590 ret_imgs.append(transform(img_i))
591 return ret_imgs, targets
592
593
594class Normalize(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected