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

Function compare_dataframes

tools/track_deepsort.py:114–125  ·  view source on GitHub ↗
(gts, ts)

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected