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

Method get_summary

yolox/evaluators/evaluation.py:90–104  ·  view source on GitHub ↗
(accs, names, metrics=('mota', 'num_switches', 'idp', 'idr', 'idf1', 'precision', 'recall'))

Source from the content-addressed store, hash-verified

88
89 @staticmethod
90 def get_summary(accs, names, metrics=('mota', 'num_switches', 'idp', 'idr', 'idf1', 'precision', 'recall')):
91 names = copy.deepcopy(names)
92 if metrics is None:
93 metrics = mm.metrics.motchallenge_metrics
94 metrics = copy.deepcopy(metrics)
95
96 mh = mm.metrics.create()
97 summary = mh.compute_many(
98 accs,
99 metrics=metrics,
100 names=names,
101 generate_overall=True
102 )
103
104 return summary
105
106 @staticmethod
107 def save_summary(summary, filename):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected