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

Method load_annotations

tutorials/motr/evaluation.py:123–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 self.reset_accumulator()
122
123 def load_annotations(self):
124 assert self.data_type == 'mot'
125
126 gt_filename = os.path.join(self.data_root, self.seq_name, 'gt', 'gt.txt')
127 self.gt_frame_dict = read_results(gt_filename, self.data_type, is_gt=True)
128 self.gt_ignore_frame_dict = read_results(gt_filename, self.data_type, is_ignore=True)
129
130 def reset_accumulator(self):
131 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