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

Method load_annotations

yolox/evaluators/evaluation.py:18–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 self.reset_accumulator()
17
18 def load_annotations(self):
19 assert self.data_type == 'mot'
20
21 gt_filename = os.path.join(self.data_root, self.seq_name, 'gt', 'gt.txt')
22 self.gt_frame_dict = read_results(gt_filename, self.data_type, is_gt=True)
23 self.gt_ignore_frame_dict = read_results(gt_filename, self.data_type, is_ignore=True)
24
25 def reset_accumulator(self):
26 self.acc = mm.MOTAccumulator(auto_id=True)

Callers 1

__init__Method · 0.95

Calls 1

read_resultsFunction · 0.70

Tested by

no test coverage detected