jac99 / MinkLoc3D

MinkLoc3D: Point Cloud Based Large-Scale Place Recognition
MIT License
122 stars 19 forks source link

Training on higher density point clouds #8

Closed JBKnights closed 2 years ago

JBKnights commented 2 years ago

Hi,

I'm interested in training MinkLoc3D on a dataset with higher density point clouds such as MulRan or the data from the ICRA2022 GPR challenge, which I saw contained MinkLoc3D-based approaches for the first and second place approaches. What hyperparameters (e.g. voxel size, learning rate, training epochs, batch size, etc.) were changed in order to train on the higher density inputs of these datasets?

Thanks,

Joshua Knights

jac99 commented 2 years ago

Hi, if you're looking for state of the art performance, I would recommend MinkLoc3Dv2: link. The method has a slightly improved network architecture and is trained using a different loss function (truncated Smooth Average Precision) using very large batches (e.g. 2048 point clouds) - by employing staged backpropagation. This improved the results compared to MinkLoc3D.

For the ICRA GPR competition on high density GPR dataset I used the following configuration (for MinkLoc3Dv2 model):

Network architecture (number of layers and convolutional filters in each layer) and cylindrical coordinates and voxels sizes are set in the model_config file. I used the following model_config:

[MODEL]
model = MinkLoc
planes = 64,128,128,128,64
layers = 1,1,1,1,1
num_top_down = 2
conv0_kernel_size = 5
feature_size = 256
block=ECABasicBlock
pooling=GeM
coordinates=polar
quantization_step=0.8,0.15, 0.15

normalize_embeddings=False
jac99 commented 2 years ago

For high-density point clouds, a good idea could be to downsample the point cloud-first. Winners of the first place in the GPR competition mentioned, that they downsampled the original point clouds and remove the points on the ground plane. This would speed up the training and inference significantly.

JBKnights commented 2 years ago

Thanks for the great and prompt responses! It's been extremely helpful.