Repository: open-mmlab/mmdetection3d

Issue:
Bugs in configs in configs/benchmark/ folder
Thanks for your error report and we appreciate it a lot.

**Checklist**
1. I have searched related issues but cannot get the expected help.
2. The bug has not been fixed in the latest version.

**Describe the bug**
A clear and concise description of what the bug is.

**Reproduction**
1. What command or script did you run?

```
bash ./tools/dist_train.sh configs/benchmark/hv_pointpillars_secfpn_3x8_100e_det3d_kitti-3d-car.py 8 --no-validate
```

2. Did you make any modifications on the code or config? Did you understand what you have modified?
3. What dataset did you use?
Kitti

**Environment**

1. Please run `python mmdet3d/utils/collect_env.py` to collect necessary environment infomation and paste it here.

![image](https://user-images.githubusercontent.com/49447593/115668492-bfd96d80-a379-11eb-8ba5-d58646d24191.png)

2. You may add addition that may be helpful for locating the problem, such as
    - How you installed PyTorch [e.g., pip, conda, source]
    - Other environment variables that may be related (such as `$PATH`, `$LD_LIBRARY_PATH`, `$PYTHONPATH`, etc.)

**Error traceback**
If applicable, paste the error trackback here.

```
File "projects/mmcv/mmcv/utils/registry.py", line 54, in build_from_cfg
    self.pipeline = Compose(pipeline)
File "anaconda3/envs/mmdet3d/lib/python3.7/site-packages/mmdet/datasets/pipelines/compose.py", line 22, in __init__                                                                                                       
    raise type(e)(f'{obj_cls.__name__}: {e}')
KeyError: "KittiDataset: 'GlobalRotScale is not in the pipeline registry'"
```

**Bug fix**
If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

The arguments' name and some type of settings are not updated in benchmark folder.

Inconsistency interface between config and function
Dear developers:

I found there exists an inconsistent interface of "ObjectNoise" between "mmdet3d/datasets/pipelines/transforms_3d.py" and "configs/benchmark/hv_pointpillars_secfpn_3x8_100e_det3d_kitti-3d-car.py". 

Especially, I found that the options "loc_noise_std" and "rot_uniform_noise" mentioned in the config file do not appear in the corresponding function.

I think maybe it is a new feature in progress. I appreciate developers who maintain this repo and contribute to this issue.


Discussion:

Resolving patch:
diff --git a/configs/benchmark/hv_pointpillars_secfpn_3x8_100e_det3d_kitti-3d-car.py b/configs/benchmark/hv_pointpillars_secfpn_3x8_100e_det3d_kitti-3d-car.py
--- a/configs/benchmark/hv_pointpillars_secfpn_3x8_100e_det3d_kitti-3d-car.py
+++ b/configs/benchmark/hv_pointpillars_secfpn_3x8_100e_det3d_kitti-3d-car.py
@@ -92,14 +92,14 @@
     dict(
         type='ObjectNoise',
         num_try=100,
-        loc_noise_std=[0.25, 0.25, 0.25],
+        translation_std=[0.25, 0.25, 0.25],
         global_rot_range=[0.0, 0.0],
-        rot_uniform_noise=[-0.15707963267, 0.15707963267]),
+        rot_range=[-0.15707963267, 0.15707963267]),
     dict(type='RandomFlip3D', flip_ratio_bev_horizontal=0.5),
     dict(
-        type='GlobalRotScale',
-        rot_uniform_noise=[-0.78539816, 0.78539816],
-        scaling_uniform_noise=[0.95, 1.05]),
+        type='GlobalRotScaleTrans',
+        rot_range=[-0.78539816, 0.78539816],
+        scale_ratio_range=[0.95, 1.05]),
     dict(type='PointsRangeFilter', point_cloud_range=point_cloud_range),
     dict(type='ObjectRangeFilter', point_cloud_range=point_cloud_range),
     dict(type='PointShuffle'),


Test patch: