(self)
| 360 | f.write(line) |
| 361 | |
| 362 | def eval_seq(self): |
| 363 | data_root = os.path.join(self.args.mot_path) |
| 364 | result_filename = os.path.join(self.predict_path, 'gt.txt') |
| 365 | evaluator = Evaluator(data_root, self.seq_num) |
| 366 | accs = evaluator.eval_file(result_filename) |
| 367 | return accs |
| 368 | |
| 369 | @staticmethod |
| 370 | def visualize_img_with_bbox(img_path, img, dt_instances: Instances, ref_pts=None, gt_boxes=None): |