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

Method __call__

tutorials/motr/transforms.py:461–464  ·  view source on GitHub ↗
(self, img, target)

Source from the content-addressed store, hash-verified

459 self.p = p
460
461 def __call__(self, img, target):
462 if random.random() < self.p:
463 return hflip(img, target)
464 return img, target
465
466
467class MotRandomHorizontalFlip(RandomHorizontalFlip):

Callers

nothing calls this directly

Calls 1

hflipFunction · 0.85

Tested by

no test coverage detected