open-mmlab / mmdetection3d

OpenMMLab's next-generation platform for general 3D object detection.
https://mmdetection3d.readthedocs.io/en/latest/
Apache License 2.0
5.29k stars 1.54k forks source link

dynamic voxelization generate negative index #1633

Open AndyYuan96 opened 2 years ago

AndyYuan96 commented 2 years ago

I use dynamic voxelization to train nus model, I find sometime's voxelize will generate negative index, which make index operation out of range, even if I already use PointsRangeFIlter. In this line : https://github.com/open-mmlab/mmdetection3d/blob/eb5a5a2d166d2d60dfbdffe63b925cb37a6541e3/mmdet3d/models/detectors/mvx_faster_rcnn.py#L39 res_coors = self.pts_voxel_layer(res)

jshilong commented 2 years ago

I will fix it asap.

carlinds commented 1 year ago

Do you have any updates/more info on this? I run into the same issue from time to time.