ifzhang / ByteTrack

[ECCV 2022] ByteTrack: Multi-Object Tracking by Associating Every Detection Box
MIT License
4.8k stars 906 forks source link

AssertionError in train MOT20 #246

Closed iTruffle closed 1 year ago

iTruffle commented 2 years ago

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: image

iTruffle commented 2 years ago

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: image image image image