(self)
| 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) |
no test coverage detected