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

Method __call__

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

Source from the content-addressed store, hash-verified

534 self.p = p
535
536 def __call__(self, img, target):
537 if random.random() < self.p:
538 return self.transforms1(img, target)
539 return self.transforms2(img, target)
540
541
542class MotRandomSelect(RandomSelect):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected