change the neck from SECONDFPN to FPN in the official config 'hv_pointpillars_secfpn_6x8_160e_kitti-3d-3class.py'. #2305
-
I tried to change the neck from SECONDFPN to FPN in the official config 'configs/pointpillars/hv_pointpillars_secfpn_6x8_160e_kitti-3d-3class.py' referring to 'configs/base/models/hv_pointpillars_fpn_nus.py', but the dimension of anchors is out of range in the function anchor_target_3d_single in train_mixins.py. I tried to debug it, it seemed that for FPN, the anchors should be a list of tensor, but it's a tensor in fact, so it entered a false if branch. This is my config: voxel_size = [0.16, 0.16, 4] data = dict( optimizer = dict( runner = dict(max_epochs=5) This is my Traceback: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
For pointpillars, we provide an example with FPN neck: https://github.com/open-mmlab/mmdetection3d/blob/master/configs/_base_/models/hv_pointpillars_fpn_nus.py |
Beta Was this translation helpful? Give feedback.
For pointpillars, we provide an example with FPN neck: https://github.com/open-mmlab/mmdetection3d/blob/master/configs/_base_/models/hv_pointpillars_fpn_nus.py