(accs, names, metrics=('mota', 'num_switches', 'idp', 'idr', 'idf1', 'precision', 'recall'))
| 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): |
nothing calls this directly
no outgoing calls
no test coverage detected