MCPcopy Index your code
hub / github.com/FoundationVision/ByteTrack / tensor_to_numpy

Function tensor_to_numpy

tutorials/motr/eval.py:129–130  ·  view source on GitHub ↗
(tensor: torch.Tensor)

Source from the content-addressed store, hash-verified

127
128
129def tensor_to_numpy(tensor: torch.Tensor) -> np.ndarray:
130 return tensor.detach().cpu().numpy()
131
132
133class Track(object):

Callers 1

detectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected