Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FoundationVision/ByteTrack
/ __call__
Method
__call__
tutorials/motr/transforms.py:554–555 ·
view source on GitHub ↗
(self, img, target)
Source
from the content-addressed store, hash-verified
552
553
class
ToTensor(object):
554
def
__call__(self, img, target):
555
return
F.to_tensor(img), target
556
557
558
class
MotToTensor(ToTensor):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected