Home

Awesome

PolarMix

PolarMix: A General Data Augmentation Technique for LiDAR Point Clouds

Aoran Xiao, Jiaxing Huang, Dayan Guan, Kaiwen Cui, Shijian Lu, Ling Shao

NeurIPS 2022

News

[2023-04] PolarMix has been integrated into the MMDetection3D codebase. Check its new feature.
[2022-09-20] Code is released.
[2022-09-15] Our paper is accepted to NeurIPS 2022.

Usage

Installation

Please visit and follow installation instruction in this repo.

Data Preparation

SemanticKITTI

Training

SemanticKITTI

We release the training code for SPVCNN and MinkowskiNet with PolarMix. You may run the following code to train the model from scratch.

SPVCNN:

python train.py configs/semantic_kitti/spvcnn/cr0p5.yaml --run-dir runs/semantickitti/spvcnn_polarmix --distributed False

MinkowskiNet:

python train.py configs/semantic_kitti/minkunet/cr0p5.yaml --run-dir run/semantickitti/minkunet_polarmix --distributed False

Testing Models

You can run the following command to test the performance of SPVCNN/MinkUNet models with PolarMix.

torchpack dist-run -np 1 python test.py --name ./runs/semantickitti/spvcnn_polarmix
torchpack dist-run -np 1 python test.py --name ./runs/semantickitti/minkunet_polarmix

We provide pre-trained models of MinkUNet and SPVCNN. You may download and place them under './runs/semantickitti/' for testing.

mIoUs over validation set of SemanticKITTI are reported as follows:

w/o PolarMixw/ PolarMix
MinkUNet58.965.0
SPVCNN60.766.2

Visualizations

Follow instructions in this repo.

Citation

If you use this code for your research, please cite our paper.

@article{xiao2022polarmix,
  title={PolarMix: A General Data Augmentation Technique for LiDAR Point Clouds},
  author={Xiao, Aoran and Huang, Jiaxing and Guan, Dayan and Cui, Kaiwen and Lu, Shijian and Shao, Ling},
  journal={arXiv preprint arXiv:2208.00223},
  year={2022}
}

Thanks

We thank the opensource project TorchSparse and SPVNAS.

Related Repos

Find our other repos for point cloud understanding!