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

Method __call__

tutorials/motr/transforms.py:559–563  ·  view source on GitHub ↗
(self, imgs, targets)

Source from the content-addressed store, hash-verified

557
558class MotToTensor(ToTensor):
559 def __call__(self, imgs, targets):
560 ret_imgs = []
561 for img in imgs:
562 ret_imgs.append(F.to_tensor(img))
563 return ret_imgs, targets
564
565
566class RandomErasing(object):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected