LCFractal / AIC21-MTMC

🏆The 1st place solution of track3 (City-Scale Multi-Camera Vehicle Tracking) in the NVIDIA AI City Challenge at CVPR 2021 Workshop.
MIT License
128 stars 35 forks source link

运行run_mcmt 时,没有注释第四行,仍报错没有detection文件夹 #33

Closed sxy233666 closed 1 year ago

sxy233666 commented 1 year ago

报错信息大致如下 [Err]: invalid source root Done Namespace(agnostic_nms=True, augment=False, cfg_file='aic_mcmt.yml', classes=[2, 5, 7], conf_thres=0.1, device='', exist_ok=False, img_size=1280, iou_thres=0.45, name='c045', project='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided', save_conf=True, save_txt=True, source='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06//c045/img1/', update=False, view_img=False, weights=['yolov5x.pt']) Namespace(agnostic_nms=True, augment=False, cfg_file='aic_mcmt.yml', classes=[2, 5, 7], conf_thres=0.1, device='', exist_ok=False, img_size=1280, iou_thres=0.45, name='c043', project='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided', save_conf=True, save_txt=True, source='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06//c043/img1/', update=False, view_img=False, weights=['yolov5x.pt']) Namespace(agnostic_nms=True, augment=False, cfg_file='aic_mcmt.yml', classes=[2, 5, 7], conf_thres=0.1, device='', exist_ok=False, img_size=1280, iou_thres=0.45, name='c042', project='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided', save_conf=True, save_txt=True, source='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06//c042/img1/', update=False, view_img=False, weights=['yolov5x.pt']) Namespace(agnostic_nms=True, augment=False, cfg_file='aic_mcmt.yml', classes=[2, 5, 7], conf_thres=0.1, device='', exist_ok=False, img_size=1280, iou_thres=0.45, name='c041', project='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided', save_conf=True, save_txt=True, source='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06//c041/img1/', update=False, view_img=False, weights=['yolov5x.pt']) Namespace(agnostic_nms=True, augment=False, cfg_file='aic_mcmt.yml', classes=[2, 5, 7], conf_thres=0.1, device='', exist_ok=False, img_size=1280, iou_thres=0.45, name='c044', project='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided', save_conf=True, save_txt=True, source='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06//c044/img1/', update=False, view_img=False, weights=['yolov5x.pt']) Namespace(agnostic_nms=True, augment=False, cfg_file='aic_mcmt.yml', classes=[2, 5, 7], conf_thres=0.1, device='', exist_ok=False, img_size=1280, iou_thres=0.45, name='c046', project='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided', save_conf=True, save_txt=True, source='/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06//c046/img1/', update=False, view_img=False, weights=['yolov5x.pt']) YOLOv5 torch 2.0.0+cu117 CPU tracking c041 with aic_mcmt.yml tracking c042 with aic_mcmt.yml tracking c043 with aic_mcmt.yml tracking c044 with aic_mcmt.yml tracking c045 with aic_mcmt.yml tracking c046 with aic_mcmt.yml Traceback (most recent call last): File "fair_app.py", line 309, in <module> run( File "fair_app.py", line 175, in run seq_info = gather_sequence_info(sequence_dir, detection_file, max_frame_idx) File "fair_app.py", line 49, in gather_sequence_info for f in os.listdir(image_dir)} FileNotFoundError: [Errno 2] No such file or directory: '/home/sxy233666/Downloads/AIC21-MTMC/datasets/detection/images/test/S06/c042/img1' 还有 loading tracked file /home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided/c046/c046_mot.txt Traceback (most recent call last): File "main.py", line 110, in <module> eval_seq(sys.argv[1], pp=sys.argv[2], mcmt_cfg=cfg) File "main.py", line 41, in eval_seq results = load_raw_mot(seq, mcmt_cfg) File "main.py", line 17, in load_raw_mot mot_feat_dic = pickle.load(open(f'{mcmt_cfg.DATA_DIR}/{seq}/{seq}_mot_feat_raw.pkl', 'rb')) FileNotFoundError: [Errno 2] No such file or directory: '/home/sxy233666/Downloads/AIC21-MTMC/datasets/detect_provided/c046/c046_mot_feat_raw.pkl' sys args ars: ['main.py', 'c044', 'pp', 'aic_mcmt.yml'] sys args ars: ['main.py', 'c041', 'pp', 'aic_mcmt.yml'] using post processing run_mcmt文件第四行没有注释,其他该下载的都下载了。作者大大知道可能是什么原因吗?感谢感谢