NVIDIA-AI-IOT / Lidar_AI_Solution

A project demonstrating Lidar related AI solutions, including three GPU accelerated Lidar/camera DL networks (PointPillars, CenterPoint, BEVFusion) and the related libs (cuPCL, 3D SparseConvolution, YUV2RGB, cuOSD,).
Other
1.25k stars 218 forks source link

Modifying the parameters min_range, max_range, and voxel_size for voxelization results in a decrease in the accuracy of inference. #231

Open nainaigetuide opened 7 months ago

nainaigetuide commented 7 months ago

Hello, I am using CUDA-Bevfusion for inference on my dataset, and I want to modify the parameters related to voxelization to adjust the range of the point cloud. I have made the following modifications to the parameters:

voxelization.min_range = nvtype::Float3(-72.0f, -72.0f, -5.0);
  voxelization.max_range = nvtype::Float3(+72.0f, +72.0f, +3.0);
  voxelization.voxel_size = nvtype::Float3(0.1f, 0.1f, 0.2f); 

After adjusting the maximum and minimum range from 54 to 72, I also changed the grid size from 0.075 to 0.1. This is done to ensure that the grid size is (1440, 1440, 41). Please ignore the top image in the six pictures. The inference results before modifying the parameters are 微信图片_20240116103239

The results after modifying the maximum range to 72 are 微信图片_20240116103247

CreepingBird commented 6 months ago

I am also meet this problem. Have you solved it?

san9569 commented 3 months ago

I meet same problem. Have you solved it?

rayxie11 commented 2 months ago

I think there is more to be considered. I am trying to increase the range as well without extra training. First of all, the camera projection range need to be changed as well to have bigger range. You should probably change to the following:

geometry.xbound = nvtype::Float3(-72.0f, 72.0f, 0.4f); 
geometry.ybound = nvtype::Float3(-72.0f, 72.0f, 0.4f);

In addition, the transbox parameters need to be changed. I am not confident with the numbers that I have calculated but I will test them tomorrow. Will update this thread if my test is successful.

san9569 commented 2 months ago

@rayxie11, any update about it? thank you