Description
Got this error when trying to run PartA2 on KITTI
The config and model files are:
config_file = '../configs/parta2/hv_PartA2_secfpn_2x8_cyclic_80e_kitti-3d-3class.py'
checkpoint_file = '../checkpoints/hv_PartA2_secfpn_2x8_cyclic_80e_kitti-3d-3class_20200620_230724-a2672098.pth'
I tried SECOND and Pointpillars as well. They run without any issue. And I couldn't find 'data.test.box_type_3d' in their config file, either.
Am I missing something?
AttributeError Traceback (most recent call last)
in
2 pcd = 'data/kitti/kitti_000008.bin'
3 time_1 = time_sync()
----> 4 result, data = inference_detector(model, pcd)
5 time_2 = time_sync()
6 prediction = 1000*(time_2 - time_1)
~/mmdetection3d/mmdet3d/apis/inference.py in inference_detector(model, pcd)
100 test_pipeline = deepcopy(cfg.data.test.pipeline)
101 test_pipeline = Compose(test_pipeline)
--> 102 box_type_3d, box_mode_3d = get_box_type(cfg.data.test.box_type_3d)
103
104 if isinstance(pcd, str):
~/mmcv/mmcv/utils/config.py in getattr(self, name)
46 else:
47 return value
---> 48 raise ex
49
50
AttributeError: 'ConfigDict' object has no attribute 'box_type_3d'