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

Function read_results

tutorials/motr/evaluation.py:22–28  ·  view source on GitHub ↗
(filename, data_type: str, is_gt=False, is_ignore=False)

Source from the content-addressed store, hash-verified

20import logging
21
22def read_results(filename, data_type: str, is_gt=False, is_ignore=False):
23 if data_type in ('mot', 'lab'):
24 read_fun = read_mot_results
25 else:
26 raise ValueError('Unknown data type: {}'.format(data_type))
27
28 return read_fun(filename, is_gt, is_ignore)
29
30# def read_mot_results(filename, is_gt, is_ignore):
31# results_dict = dict()

Callers 4

load_annotationsMethod · 0.90
eval_fileMethod · 0.90
load_annotationsMethod · 0.70
eval_fileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected