SSC
Semantic Scene Completion
Install / Use
/learn @waterljwant/SSCREADME
Semantic Scene Completion
This repo contains code for the following papers
- AICNet (CVPR2020): Anisotropic Convolutional Networks for 3D Semantic Scene Completion
- DDRNet (CVPR2019): RGBD Based Dimensional Decomposition Residual Network for 3D Semantic Scene Completion
- PALNet (RAL2019): Depth Based Semantic Scene Completion with Position Importance Aware Loss
Contents
Installation
Environment
- Ubuntu 16.04
- python 3.6
- CUDA 10.1
Requirements:
- pytorch≥1.4.0
- torch_scatter
- imageio
- scipy
- scikit-learn
- tqdm
You can install the requirements by running pip install -r requirements.txt.
If you use other versions of PyTorch or CUDA, be sure to select the corresponding version of torch_scatter.
Data Preparation
Download dataset
The raw data can be found in SSCNet.
The repackaged data can be downloaded via Google Drive or BaiduYun(Access code:lpmk).
The repackaged data includes:
rgb_tensor = npz_file['rgb'] # pytorch tensor of color image
depth_tensor = npz_file['depth'] # pytorch tensor of depth
tsdf_hr = npz_file['tsdf_hr'] # flipped TSDF, (240, 144, 240)
tsdf_lr = npz_file['tsdf_lr'] # flipped TSDF, ( 60, 36, 60)
target_hr = npz_file['target_hr'] # ground truth, (240, 144, 240)
target_lr = npz_file['target_lr'] # ground truth, ( 60, 36, 60)
position = npz_file['position'] # 2D-3D projection mapping index
Train and Test
Configure the data path in config.py
'train': '/path/to/your/training/data'
'val': '/path/to/your/testing/data'
Train
Edit the training script run_SSC_train.sh, then run
bash run_SSC_train.sh
Test
Edit the testing script run_SSC_test.sh, then run
bash run_SSC_test.sh
Visualization and Evaluation
comging soon
Citation
If you find this work useful in your research, please cite our paper(s):
@inproceedings{Li2020aicnet,
author = {Jie Li, Kai Han, Peng Wang, Yu Liu, and Xia Yuan},
title = {Anisotropic Convolutional Networks for 3D Semantic Scene Completion},
booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
year = {2020},
}
@InProceedings{Li2019ddr,
author = {Li, Jie and Liu, Yu and Gong, Dong and Shi, Qinfeng and Yuan, Xia and Zhao, Chunxia and Reid, Ian},
title = {RGBD Based Dimensional Decomposition Residual Network for 3D Semantic Scene Completion},
booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
month = {June},
pages = {7693--7702},
year = {2019}
}
@article{li2019palnet,
title={Depth Based Semantic Scene Completion With Position Importance Aware Loss},
author={Li, Jie and Liu, Yu and Yuan, Xia and Zhao, Chunxia and Siegwart, Roland and Reid, Ian and Cadena, Cesar},
journal={IEEE Robotics and Automation Letters},
volume={5},
number={1},
pages={219--226},
year={2019},
publisher={IEEE}
}
Related Skills
node-connect
334.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
334.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.2kCommit, push, and open a PR
