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

Method __call__

yolox/deepsort_tracker/reid_model.py:140–145  ·  view source on GitHub ↗
(self, im_crops)

Source from the content-addressed store, hash-verified

138 return im_batch
139
140 def __call__(self, im_crops):
141 im_batch = self._preprocess(im_crops)
142 with torch.no_grad():
143 im_batch = im_batch.to(self.device)
144 features = self.net(im_batch)
145 return features.cpu().numpy()

Callers

nothing calls this directly

Calls 1

_preprocessMethod · 0.95

Tested by

no test coverage detected