mmtracking
mmtracking copied to clipboard
"[Errno 2] No such file or directory: 'data/MOT20/test/MOT20-04/gt/gt.txt'' when I tested Bytetrack
Thanks for your error report and we appreciate it a lot.
Checklist
- I have searched related issues but cannot get the expected help.
- The bug has not been fixed in the latest version.
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
- What command or script did you run?
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
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 trackmay raise error.
Thanks for your answer!!
You're welcome. Hope everything goes well with you.🙂