Open l412198735 opened 2 years ago
Does the file gt.txt
exist in the path data/MOT20/test/MOT20-04/gt/
?
Have you checked?
该文件是否
gt.txt
存在于路径中data/MOT20/test/MOT20-04/gt/
?你检查过吗?
I found that ‘/gt/gt.txt’ does not exist in the test set of MOT17 and MOT20, while the train set does. I got the dataset from MOTChallenge
Well, I see. You want to eval the test set, but you can't do it locally. The MOT challenge doesn't provide gt.txt for test set verification, so --eval track
may raise error.
Well, I see. You want to eval the test set, but you can't do it locally. The MOT challenge doesn't provide gt.txt for test set verification, so
--eval track
may raise error.
Thanks for your answer!!
You're welcome. Hope everything goes well with you.🙂
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug '[Errno 2] No such file or directory: 'data/MOT17/test/MOT17-01-DPM/gt/gt.txt'' When I tested Bytetrack with "python tools/test.py configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot20-private.py --eval track”
‘[Errno 2] No such file or directory: 'data/MOT20/test/MOT20-04/gt/gt.txt'’ when I tested Bytetrack with “python tools/test.py configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot20-private.py --eval track”
But with code “python tools/test.py configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot17-private-half.py --eval track” I can test successfully
Reproduction
python tools/test.py configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot20-private.py --eval track python tools/test.py configs/mot/bytetrack/bytetrack_yolox_x_crowdhuman_mot17-private.py --eval track
Did you make any modifications on the code or config? Did you understand what you have modified? Not modified
What dataset did you use and what task did you run? MOT17 and MOT20
Error traceback [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 4479/4479, 18.1 task/s, elapsed: 247s, ETA: 0sEvaluate CLEAR MOT results. Traceback (most recent call last): File "tools/test.py", line 225, in
main()
File "tools/test.py", line 215, in main
metric = dataset.evaluate(outputs, **eval_kwargs)
File "/media/DATA/My_project/MOT/mmtracking/mmtrack/datasets/mot_challenge_dataset.py", line 402, in evaluate
gt_content = self.file_client.get(gt_file)
File "/home/anaconda3/envs/mmtracking/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 1014, in get
return self.client.get(filepath)
File "/home/anaconda3/envs/mmtracking/lib/python3.7/site-packages/mmcv/fileio/file_client.py", line 535, in get
with open(filepath, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/MOT20/test/MOT20-04/gt/gt.txt'