Closed meng-zha closed 3 years ago
Thanks for your commit #211 ,but when i create nuscenes gt, i met this
problem:Create GT Database of NuScenesDataset {'type': 'NuScenesDataset', 'data_root': './data/nuscenes', 'ann_file': './data/nuscenes/nuscenes_infos_train.pkl'} Traceback (most recent call last): File "tools/create_data.py", line 226, in
max_sweeps=args.max_sweeps) File "tools/create_data.py", line 68, in nuscenes_data_prep f'{out_dir}/{info_prefix}_infos_train.pkl') File "/mnt/luci-home/songli/mmdet3d/tools/data_converter/create_gt_database.py", line 215, in create_groundtruth_database dataset = build_dataset(dataset_cfg) File "/mnt/luci-home/songli/mmdet3d/mmdet3d/datasets/builder.py", line 37, in build_dataset dataset = build_from_cfg(cfg, DATASETS, default_args) File "/mnt/3dvision-cpfs/envs/conda/envs/mmdet3d/lib/python3.6/site-packages/mmcv/utils/registry.py", line 171, in build_from_cfg return obj_cls(args) File "/mnt/luci-home/songli/mmdet3d/mmdet3d/datasets/nuscenes_dataset.py", line 127, in init test_mode=test_mode) File "/mnt/luci-home/songli/mmdet3d/mmdet3d/datasets/custom_3d.py", line 64, in init self.pipeline = Compose(pipeline) File "/mnt/luci-home/songli/mmdet/mmdet/datasets/pipelines/compose.py", line 22, in init transform = build_from_cfg(transform, PIPELINES) File "/mnt/3dvision-cpfs/envs/conda/envs/mmdet3d/lib/python3.6/site-packages/mmcv/utils/registry.py", line 171, in build_from_cfg return obj_cls(args) TypeError: init() missing 1 required positional argument: 'coord_type'
@songlilucky I test the kitti dataset before, and I have found that the 'coord_type' should be in the ‘LoadPointsFromFile’ pipeline but not in the 'LoadPointsFromMultiSweeps' pipeline. It is a bug. I will fix it immediately.
@songlilucky I test the kitti dataset before, and I have found that the 'coord_type' should be in the ‘LoadPointsFromFile’ pipeline but not in the 'LoadPointsFromMultiSweeps' pipeline. It is a bug. I will fix it immediately.
Thanks~
Thanks for the wonderful codebase.
I want to know whether these are caused by bugs or my installation problem. The try of PR has been sent, or these can be fixed by a few minutes by yourself.