Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FoundationVision/ByteTrack
/ __call__
Method
__call__
tutorials/motr/transforms.py:486–488 ·
view source on GitHub ↗
(self, img, target=None)
Source
from the content-addressed store, hash-verified
484
self.max_size = max_size
485
486
def
__call__(self, img, target=None):
487
size = random.choice(self.sizes)
488
return
resize(img, target, size, self.max_size)
489
490
491
class
MotRandomResize(RandomResize):
Callers
nothing calls this directly
Calls
1
resize
Function · 0.85
Tested by
no test coverage detected