Lidar_AI_Solution icon indicating copy to clipboard operation
Lidar_AI_Solution copied to clipboard

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

Open nainaigetuide opened this issue 1 year ago • 4 comments

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

nainaigetuide avatar Jan 16 '24 02:01 nainaigetuide

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

CreepingBird avatar Mar 05 '24 06:03 CreepingBird

I meet same problem. Have you solved it?

san9569 avatar May 13 '24 14:05 san9569

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.

rayxie11 avatar Jun 11 '24 05:06 rayxie11

@rayxie11, any update about it? thank you

san9569 avatar Jun 18 '24 04:06 san9569