Project Page | Arxiv | Data
GaussianOcc: Fully Self-supervised and Efficient 3D Occupancy Estimation with Gaussian Splatting
<br>
Wanshui Gan*, Fang Liu*, Hongbin Xu, Ningkai Mo, Naoto Yokoya<br>
π δΈζ解读οΌη¬¬δΈζΉοΌ: θͺε¨ι©Ύι©ΆδΉεΏ
Updates:
π 2024/11/01
Release the code of generating the 2D semantic map label of DDAD dataset.π 2024/08/25
Release the code in stage 2 for both training and evaluation. Code may not be cleaned thoroughly, so feel free to open an issue if any question.π 2024/08/22
Paper release and the code will be released next week.Demos are a little bit large; please wait a moment to load them.
We introduce GaussianOcc, a systematic method that investigates the two usages of Gaussian splatting for fully self-supervised and efficient 3D occupancy estimation in surround views. First, traditional methods for self-supervised 3D occupancy estimation still require ground truth 6D poses from sensors during training. To address this limitation, we propose Gaussian Splatting for Projection (GSP) module to provide accurate scale information for fully self-supervised training from adjacent view projection. Additionally, existing methods rely on volume rendering for final 3D voxel representation learning using 2D signals (depth maps, semantic maps), which is both time-consuming and less effective. We propose Gaussian Splatting from Voxel space (GSV) to leverage the fast rendering properties of Gaussian splatting. As a result, the proposed GaussianOcc method enables fully self-supervised (no ground truth pose) 3D occupancy estimation in competitive performance with low computational cost (2.7 times faster in training and 5 times faster in rendering).
Method Overview:
Clone this repo and install the dependencies:
git clone --recurse-submodules https://github.com/GANWANSHUI/GaussianOcc.git
cd GaussianOcc
conda create -n gsocc python=3.8
conda activate gsocc
conda install pytorch==1.9.1 torchvision==0.10.1 cudatoolkit=11.3 -c pytorch -c conda-forge
pip install -r requirements.txt
cd submodule/diff-gaussian-rasterization-confidence
pip install .
cd submodule/diff-gaussian-rasterization-confidence-semantic
pip install .
cd submodule/simple-knn
pip install .
Our code is tested with Python 3.8, PyTorch 1.9.1 and CUDA 11.3 and can be adapted to other versions of PyTorch and CUDA with minor modifications.
sh run_gs_occ.sh
Visualize the semantic occupancy prediction:
python tools/export_vis_data.py # You can modify this file to choose scenes you want to visualize. Otherwise, all validation scenes will be visualized.
sh run_vis.sh
python gen_scene_video.py scene_folder_generated_by_the_above_command --sem_only
Many thanks to these excellent projects:
Recent related works:
If you find this repository/work helpful in your research, welcome to cite our papers and give a β.
@article{gan2024gaussianocc,
title={GaussianOcc: Fully Self-supervised and Efficient 3D Occupancy Estimation with Gaussian Splatting},
author={Gan, Wanshui and Liu, Fang and Xu, Hongbin and Mo, Ningkai and Yokoya, Naoto},
journal={arXiv preprint arXiv:2408.11447},
year={2024}
}
@article{gan2024comprehensive,
title={A Comprehensive Framework for 3D Occupancy Estimation in Autonomous Driving},
author={Gan, Wanshui and Mo, Ningkai and Xu, Hongbin and Yokoya, Naoto},
journal={IEEE Transactions on Intelligent Vehicles},
year={2024},
publisher={IEEE}
}