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

Method get_summary

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

Source from the content-addressed store, hash-verified

81
82 @staticmethod
83 def get_summary(accs, names, metrics=('mota', 'num_switches', 'idp', 'idr', 'idf1', 'precision', 'recall')):
84 names = copy.deepcopy(names)
85 if metrics is None:
86 metrics = mm.metrics.motchallenge_metrics
87 metrics = copy.deepcopy(metrics)
88
89 mh = mm.metrics.create()
90 summary = mh.compute_many(
91 accs,
92 metrics=metrics,
93 names=names,
94 generate_overall=True
95 )
96
97 return summary
98
99 @staticmethod
100 def save_summary(summary, filename):

Callers 3

eval_motaFunction · 0.45
get_motaFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected