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

Method __init__

tutorials/motr/transforms.py:504–505  ·  view source on GitHub ↗
(self, max_pad)

Source from the content-addressed store, hash-verified

502
503class RandomPad(object):
504 def __init__(self, max_pad):
505 self.max_pad = max_pad
506
507 def __call__(self, img, target):
508 pad_x = random.randint(0, self.max_pad)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected