Home

Awesome

SCPNet: Semantic Scene Completion on Point Cloud (CVPR 2023, Highlight)

<img src='./imgs/pipline.png' width=880>

News

Installation

Requirements

Data Preparation

SemanticKITTI

./
├── 
├── ...
└── path_to_data_shown_in_config/
    ├──sequences
        ├── 00/           
        │   ├── velodyne/	
        |   |	├── 000000.bin
        |   |	├── 000001.bin
        |   |	└── ...
        │   └── labels/ 
        |       ├── 000000.label
        |       ├── 000001.label
        |       └── ...
        │   └── voxels/ 
        |       ├── 000000.bin
        |       ├── 000000.label
        |       ├── 000000.invalid
        |       ├── 000000.occluded
        |       ├── 000001.bin
        |       ├── 000001.label
        |       ├── 000001.invalid
        |       ├── 000001.occluded
        |       └── ...
        ├── 08/ # for validation
        ├── 11/ # 11-21 for testing
        └── 21/
	    └── ...

Test

We take evaluation on the SemanticKITTI test set (single-scan) as example.

  1. Download the pre-trained models and put them in ./model_load_dir.
  2. Set val_data_loader>imageset: “test” in the configuration file config/semantickitti-multiscan.yaml.
  3. Generate predictions on the SemanticKITTI test set.
CUDA_VISIBLE_DEVICES=0 python -u test_scpnet_comp.py

The model predictions will be saved in ./out_scpnet/test by default.

Train

  1. Set val_data_loader>imageset: “test” in the configuration file config/semantickitti-multiscan.yaml.
  2. train the network by running the train script
CUDA_VISIBLE_DEVICES=0 python -u train_scpnet_comp.py

Citation

If you use the codes, please cite the following publication:

@inproceedings{scpnet,
    title     = {SCPNet: Semantic Scene Completion on Point Cloud},
    author    = {Xia, Zhaoyang and Liu, Youquan and Li, Xin and Zhu, Xinge and Ma, Yuexin and Li, Yikang and Hou, Yuenan and Qiao, Yu},
    booktitle = {IEEE Conference on Computer Vision and Pattern Recognition},
    year      = {2023}
}

Acknowledgements

We thanks for these codebases, including Cylinder3D, PVKD and spconv.