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

Function compare_dataframes

tools/track.py:113–124  ·  view source on GitHub ↗
(gts, ts)

Source from the content-addressed store, hash-verified

111
112
113def compare_dataframes(gts, ts):
114 accs = []
115 names = []
116 for k, tsacc in ts.items():
117 if k in gts:
118 logger.info('Comparing {}...'.format(k))
119 accs.append(mm.utils.compare_to_groundtruth(gts[k], tsacc, 'iou', distth=0.5))
120 names.append(k)
121 else:
122 logger.warning('No ground truth for {}, skipping.'.format(k))
123
124 return accs, names
125
126
127@logger.catch

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected