huixiancheng / No-CPGNet

Non-official implementation of CPGNet
7 stars 2 forks source link
lidar-point-cloud semantic-segmentation semantickitti

CPGNet: Cascade Point-Grid Fusion Network for Real-Time LiDAR Semantic Segmentation

pipeline

New Fix:

Environment Setup

Please refer to SMVF repo. Note: Make sure deep_point is installed.

Prepare Data

Download SemanticKITTI from official web. Download Object_Bank from SMVF for CutMix.

Training

### Multi-gpus ###
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 train.py --config config/wce.py

### Single-gpu ###
CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --nproc_per_node=1 train.py --config config/wce.py

Evaluation

### Multi-gpus ###
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 evaluate.py --config config/wce.py --start_epoch 0 --end_epoch 49

### Single-gpu ###
CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.launch --nproc_per_node=1 evaluate.py --config config/wce.py --start_epoch 0 --end_epoch 49

Find best epoch

python find_best_metric.py --name wce

Pretrained Models and Logs

Models have been uploaded to this Google Drive folder.

CPGNet Loss Batch_Size * GPUS mIoU
Our Reproduced WCE (stage=1 w/o CutMix) 6 * 2 (FP16 on 3090) 58.6
Our Reproduced WCE (stage=1) 6 * 2 (FP16 on 3090) 62.4
Our Reproduced WCE (stage=2) 6 * 2 (FP16 on 3090) 64.9
Paper Reported WCE (stage=1) 2 * 8 (FP32 on 2080ti) 62.5
Paper Reported WCE (stage=2) 2 * 8 (FP32 on 2080ti) 65.9

Note:

Below are known issues listed:

Citation

It should be considered to cite:

@inproceedings{li2022cpgnet,
  title={CPGNet: Cascade Point-Grid Fusion Network for Real-Time LiDAR Semantic Segmentation},
  author={Li, Xiaoyan and Zhang, Gang and Pan, Hongyu and Wang, Zhenhua},
  booktitle={2022 IEEE International Conference on Robotics and Automation (ICRA)},
  year={2022},
  organization={IEEE}
}