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

Method get_summary

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected