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

Method __init__

tutorials/motr/transforms.py:309–310  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

307
308class RandomCrop(object):
309 def __init__(self, size):
310 self.size = size
311
312 def __call__(self, img, target):
313 region = T.RandomCrop.get_params(img, self.size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected