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
130 stars 36 forks source link

run_mcmt.sh syntax errors and cannot find timestamp files #14

Open JLeaman99 opened 2 years ago

JLeaman99 commented 2 years ago

:~/AIC21-MTMC$ bash ./run_mcmt.sh [Err]: invalid source root Done run_aic.sh: 3: Syntax error: "(" unexpected Traceback (most recent call last): File "/home/jared/AIC21-MTMC/reid/reid-matching/tools/trajectory_fusion.py", line 53, in cid_bias = parse_bias(cfg.CID_BIAS_DIR, scene_name) File "/home/jared/AIC21-MTMC/reid/reid-matching/tools/trajectory_fusion.py", line 30, in parse_bias with open(opj(timestamp_dir, sname + '.txt')) as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/jared/AIC21-MTMC/datasets/AIC21_Track3_MTMC_Tracking/cam_timestamp/S06.txt' Traceback (most recent call last): File "/home/jared/AIC21-MTMC/reid/reid-matching/tools/sub_cluster.py", line 143, in for pkl_path in os.listdir(fea_dir): FileNotFoundError: [Errno 2] No such file or directory: './exp/viz/test/S06/trajectory/' Traceback (most recent call last): File "/home/jared/AIC21-MTMC/reid/reid-matching/tools/gen_res.py", line 40, in map_tid = pickle.load(open('test_cluster.pkl', 'rb'))['cluster'] FileNotFoundError: [Errno 2] No such file or directory: 'test_cluster.pkl'

I have confirmed that all the files exist expect for the test cluster file, Any ideas?

cmtsai commented 2 years ago

I have the same problem. Do you have solved this "No such file or directory: 'test_cluster.pkl'" problem?

JLeaman99 commented 2 years ago

I was unable to figure it out, it seems as if there is bash syntax error with the "run_aic.sh: 3: Syntax error: "(" unexpected" where bash could not parse the array given for some reason. I think the test_cluster file may be a file generated during execution but I am not sure.

LCFractal commented 2 years ago

I don't know the reason for these errors. Maybe you need to confirm whether the python version is 3.8, and try to debug by line. test_cluster.pkl is an intermediate file generated when the program is running. Please make sure that the previous code runs successfully.

lurenlym commented 2 years ago

I was unable to figure it out, it seems as if there is bash syntax error with the "run_aic.sh: 3: Syntax error: "(" unexpected" where bash could not parse the array given for some reason. I think the test_cluster file may be a file generated during execution but I am not sure.

The same problem "run_aic.sh: 3: Syntax error: "(" unexpected", I solve it by using "bash" instead of "sh" in ubuntu, sh run_aic.sh ${MCMT_CONFIG_FILE} bash run_aic.sh

mengflow commented 2 years ago

I was unable to figure it out, it seems as if there is bash syntax error with the "run_aic.sh: 3: Syntax error: "(" unexpected" where bash could not parse the array given for some reason. I think the test_cluster file may be a file generated during execution but I am not sure.

The same problem "run_aic.sh: 3: Syntax error: "(" unexpected", I solve it by using "bash" instead of "sh" in ubuntu, sh run_aic.sh ${MCMT_CONFIG_FILE} bash run_aic.sh

Amazing!It helps me a lot!

LPfly0822 commented 7 months ago

Hello, there is no timestamp file in the data set I downloaded. Can you provide one? If so, thank you very much.

ZoeSnow commented 3 months ago

The same question. FileNotFoundError: [Errno 2] No such file or directory: '/home/jared/AIC21-MTMC/datasets/AIC21_Track3_MTMC_Tracking/cam_timestamp/S06.txt'