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

Function unzip_objs

tutorials/motr/evaluation.py:104–110  ·  view source on GitHub ↗
(objs)

Source from the content-addressed store, hash-verified

102 return results_dict
103
104def unzip_objs(objs):
105 if len(objs) > 0:
106 tlwhs, ids, scores = zip(*objs)
107 else:
108 tlwhs, ids, scores = [], [], []
109 tlwhs = np.asarray(tlwhs, dtype=float).reshape(-1, 4)
110 return tlwhs, ids, scores
111
112
113class Evaluator(object):

Callers 4

eval_frameMethod · 0.90
eval_fileMethod · 0.90
eval_frameMethod · 0.70
eval_fileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected