OC_SORT
OC_SORT copied to clipboard
AssertionError in train MOT20
I can successfully run evaluation code for MOT17 and MOT20 and video demo.
But I got an error in training for MOT20, using 'python tools/train.py -f exps/example/mot/yolox_x_mix_mot20_ch.py -d 1 -b 48 --fp16 -o -c pretrained/yolox_x.pth', like this:
And I have followed the instruction to change the code in 'line 134-135 in data_augment.py, line 122-125 in mosaicdetection.py, line 217-225 in mosaicdetection.py, line 115-118 in boxes.py' .
After challenging, the code like this:
This is possible if you read an empty file or in a wrong path name. I tried the code on my side, it looks right. Have you fixed this issue?
Sorry, I do not know where is wrong and how to train successfully.
I faced with the same problem today. After examining the error logs, I saw that although the annotation files were created, there were no related images in the "mix_mot" tag or other similar folders created. So because the folders are empty it can't find the images and this error occurs. After adding the images to the folders manually, the error was resolved and training started. I'm not sure if this is a bug as I haven't had a chance to review the scripts that mix the data yet.
I hope it helps. Y.
Thank you very much. I will try to train it in next month.