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

Method get_summary

tutorials/motr/evaluation.py:186–200  ·  view source on GitHub ↗
(accs, names, metrics=('mota', 'num_switches', 'idp', 'idr', 'idf1', 'precision', 'recall'))

Source from the content-addressed store, hash-verified

184
185 @staticmethod
186 def get_summary(accs, names, metrics=('mota', 'num_switches', 'idp', 'idr', 'idf1', 'precision', 'recall')):
187 names = copy.deepcopy(names)
188 if metrics is None:
189 metrics = mm.metrics.motchallenge_metrics
190 metrics = copy.deepcopy(metrics)
191
192 mh = mm.metrics.create()
193 summary = mh.compute_many(
194 accs,
195 metrics=metrics,
196 names=names,
197 generate_overall=True
198 )
199
200 return summary
201
202 @staticmethod
203 def save_summary(summary, filename):

Callers 1

eval.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected