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

Function read_results

yolox/tracking_utils/io.py:33–39  ·  view source on GitHub ↗
(filename, data_type: str, is_gt=False, is_ignore=False)

Source from the content-addressed store, hash-verified

31
32
33def read_results(filename, data_type: str, is_gt=False, is_ignore=False):
34 if data_type in ('mot', 'lab'):
35 read_fun = read_mot_results
36 else:
37 raise ValueError('Unknown data type: {}'.format(data_type))
38
39 return read_fun(filename, is_gt, is_ignore)
40
41
42"""

Callers 2

load_annotationsMethod · 0.90
eval_fileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected