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

Function unzip_objs

yolox/evaluators/evaluation.py:193–200  ·  view source on GitHub ↗
(objs)

Source from the content-addressed store, hash-verified

191
192
193def unzip_objs(objs):
194 if len(objs) > 0:
195 tlwhs, ids, scores = zip(*objs)
196 else:
197 tlwhs, ids, scores = [], [], []
198 tlwhs = np.asarray(tlwhs, dtype=float).reshape(-1, 4)
199
200 return tlwhs, ids, scores

Callers 2

eval_frameMethod · 0.70
eval_fileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected