Skip to content
tlab-widePublic

About

No description, website, or topics provided.

Resources

Stars

15 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

SUGOcc: An Explicit Semantics and Uncertainty Guided Sparse Learning Framework for Real-Time 3D Occupancy Prediction

News

  • [2026/01/21] The preprint version is available on arXiv

Table of Contents

Method

Overview

Overview of the proposed SUG-Occ framework.

Getting Start (Coming Soon)

Installation

## Basic Installation
conda create -n sugocc python=3.8 -y
conda activate sugocc
conda install gcc==9.4 gxx==9.4  ## conda compiler need to relink ld, otherwise use system compiler
conda install cudatoolkit==11.7 cudatoolkit-dev==11.7 -c conda-forge -y
pip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
pip install -r requirements.txt

## MMLab Framwork
pip install mmcv==2.0.0rc4 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html

pip install mmdet==3.3.0 mmsegmentation==1.2.2 mmdet3d==1.4.0

## Minkowski Engine
conda install openblas-devel libxcrypt -c anaconda -c conda-forge
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --global-option="--blas_include_dirs=${CONDA_PREFIX}/include" --global-option="--blas=openblas"

## Occ Pool CUDA Operation
python setup.py develop

Data Preparation

SemanticKITTI

Download the KITTI Odometry Dataset (including color, velodyne laser data, and calibration files) and the annotations for Semantic Scene Completion from SemanticKITTI. Put all .zip files under SparseOcc/data/SemanticKITTI and unzip these files. Then you should get the following dataset structure:

SUGOcc
├── data/
│   ├── SemanticKITTI/
│   │   ├── dataset/
│   │   │   ├── sequences
│   │   │   │   ├── 00
│   │   │   │   │   ├── calib.txt
│   │   │   │   │   ├── image_2/
│   │   │   │   │   ├── image_3/
│   │   │   │   │   ├── voxels/
│   │   │   │   ├── 01
│   │   │   │   ├── 02
│   │   │   │   ├── ...
│   │   │   │   ├── 21

Preprocess the annotations for semantic scene completion:

python projects/SUGOcc/sugocc/tools/kitti_process/semantic_kitti_preprocess.py --kitti_root data/SemanticKITTI --kitti_preprocess_root data/SemanticKITTI --data_info_path projects/SUGOcc/sugocc/tools/kitti_process/semantic-kitti.yaml

Occ3D-Nuscenes

Download the full nuScenes dataset from the official website.

Download the primary Occ3D-NuScenes annotations from the project page.

Organize your data following this structure:

SUGOcc/
├── data/
│   ├── nuscenes/
│   │   ├── maps/
│   │   ├── samples/
│   │   ├── sweeps/
│   │   ├── v1.0-test/
│   │   ├── v1.0-trainval/
│   │   ├── gts/                 # Main Occ3D annotations

Run the preprocessing scripts to prepare the data for training:

PYTHONPATH=$(pwd):$PYTHONPATH python tools/create_data_bevdet.py

Run the preprocessing scripts to prepare downsampled labels for training:

python projects/SUGOcc/sugocc/tools/nus_process/occ3d_nuscenes_preprocess.py --nuscenes_root data/nuscenes

Pre-trained Models

Download the pre-trained image encoder from MaskDINO (maskdino_r50_50e_300q_panoptic_pq53.0.pth) and BEVDet(bevdet-r50-4d-depth-cbgs.pth)

Train & Evaluate

Training

bash tools/dist_train.sh projects/SUGOcc/configs/$CONFIG $GPUS

Evaluation

bash tools/dist_test.sh projects/SUGOcc/configs/$CONFIG $PTH 1

Results

Results on SemanticKITTI

Config Stereo Backbone IoU mIoU FPS Weights
SemanticKITTI ❌ ResNet-50 35.87 14.91 10.1 weights

Results on Occ3D-Nuscenes

Config Temporal Backbone RayIoU mIoU FPS Weights
Occ3D-Nuscenes 1 Frame ResNet-50 37.01 31.56 11.2 weights

Citation

If you find our work useful for your research, please consider citing the paper:

@article{wu2026sug,
  title={SUG-Occ: An Explicit Semantics and Uncertainty Guided Sparse Learning Framework for Real-Time 3D Occupancy Prediction},
  author={Wu, Hanlin and Lin, Pengfei and Javanmardi, Ehsan and Bao, Naren and Qian, Bo and Si, Hao and Tsukada, Manabu},
  journal={arXiv preprint arXiv:2601.11396},
  year={2026}
}

Acknowledgements

Many thanks to these excellent projects:

About

No description, website, or topics provided.

Resources

Stars

15 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages