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

Method load_annotations

tutorials/jde/evaluation.py:19–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 1

__init__Method · 0.95

Calls 1

read_resultsFunction · 0.90

Tested by

no test coverage detected