When I use the command "python lib/core/data_preprocessor.py --cfg configs/kitti/3dssd/3dssd.yaml --split testing --img_list test", I got the following error.
AttributeError: 'KittiDataset' object has no attribute 'mixup_db_class'
With debugging, I found that mixup_db_class only will be activated by ['train', 'val', 'trainval'] modes. So May I ask for how to fix this and what is the intension of using mixup_db_class? Code reading is painful, please help out.
I have solved the problem to add
if self.img_list in ['train', 'val', 'trainval']:
before
mixup_label_dict = dict([(cls, []) for cls in self.mixup_db_class])
When I use the command "python lib/core/data_preprocessor.py --cfg configs/kitti/3dssd/3dssd.yaml --split testing --img_list test", I got the following error. AttributeError: 'KittiDataset' object has no attribute 'mixup_db_class'
With debugging, I found that mixup_db_class only will be activated by ['train', 'val', 'trainval'] modes. So May I ask for how to fix this and what is the intension of using mixup_db_class? Code reading is painful, please help out.