Open AndrewGuo0930 opened 2 years ago
Yes, for customed usage, you can change the classes in bbox_head and classes.
As for your problem, the MOTChallengeDataset has some hard code, which only supports name rules for MOT series datasets (this is because of the third-party evaluation toolkit Trackeval for HOTA). So there is something more you need to modify in the MOTChallengeDataset. If you don't care about HOTA value, I suggest firstly ignoring those codes.
Thank you for your response! So which code should I modify? Can I just modify the code in ./mmtrack/datasets/mot_challenge_dataset.py
?
Another question, when I'm running the training script using PORT=29504 ./tools/dist_train.sh ./configs/mot/qdtrack/qdtrack_faster-rcnn_dcnv2_r50_fpn_4e_sat-airplane.py 1
, is it training both the detector and the tracker, or just the tracker?
Finally, I would appreciate it if you could help me with #499 and #491. Thank you so much!
Describe the bug After training for 1 epoch on my custom datasets with QDTrack, it started to evaluate CLEAR MOT results. But an error occured
"TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'"
.Reproduction
1. What command or script did you run?
2. Did you make any modifications on the code or config? Did you understand what you have modified? Here is my config.
3. What dataset did you use and what task did you run? A dataset provided by a competition, which has 4 classes
'car', 'airplane', 'ship', 'train'
. I'm working on multi-class MOT task.Environment
1. Please run
python mmtrack/utils/collect_env.py
to collect necessary environment information and paste it here.2. You may add addition that may be helpful for locating the problem, such as My dataset has 4 classes. However, since MMTracking only supports single-class MOT now, I'm trying to train 4 models for the 4 classes individually. Can I just change
num_classes
inbbox_head
andclasses=('xxx', )
indata
? Or I should generate a dataset that only contains the class I focus on? Thank you so much!Error traceback If applicable, paste the error trackback here.
Eval config