You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: