georghess/neurad-studio
Tentang
[CVPR2024] NeuRAD: rendering neural untuk berkendara otonom
Desain dan mediaYang dapat Anda lakukan
- Dataparsing of lidar data (3D+intensity+time)
- Dataparsing of annotations
- Datamanager for lidar+image data
- Rolling shutter handling for ray generation
Pertumbuhan bintang terukur
- dalam 24 jam
- +1
- dalam 7 hari
- +2
- dalam 15 hari
- +4
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli
Neural Rendering for Autonomous Driving
CVPR 2024 highlight + CVPR 2025
About
This is the official code release of the following papers:
- CVPR 2024 paper NeuRAD: Neural Rendering for Autonomous Driving
- CVPR 2025 paper SplatAD: Real-Time Lidar and Camera Rendering with 3D Gaussian Splatting for Autonomous Driving
NeuRAD and SplatAD reconstruct dynamic driving scenes from camera and LiDAR data. Contributions of new models, datasets, and fixes are welcome.
News
[June 2025] Code for SplatAD is now released in neurad-studio. The code uses our custom fork of gsplat, found here, for handling rolling shutter and lidar rendering. For Apptainer users we provide a recipe that lets you build an image with all the needed dependencies.
Quickstart
Train SplatAD or NeuRAD on a PandaSet sequence using uv. You need
Linux, uv, Git, GCC/G++, the CUDA 12.8 toolkit (including nvcc), and an NVIDIA
GPU with a compatible driver. The setup script manages Python 3.12 and the
project's dependencies for you.
Prefer a container? See Docker or Apptainer / HPC.
1. Set up with uv
git clone https://github.com/georghess/neurad-studio.git
cd neurad-studio
CUDA_HOME=/usr/local/cuda-12.8 bash scripts/setup-env.sh
source .venv/activate-neurad
ns-train --help
Set CUDA_HOME to your toolkit's location. The script uses uv to create .venv,
install the repository in editable mode and its pinned dependencies, and build
tiny-cuda-nn. The custom gsplat fork is installed automatically. Run
source .venv/activate-neurad in each new shell to restore the Python and CUDA
environment. See setup details for other options.
2. Download data
Download PandaSet and extract
it under data/pandaset. For the example below, sequence 001 should be at
data/pandaset/001. Dataset-specific instructions are linked in the
dataset table.
3. Train
ns-train splatad pandaset-data --data data/pandaset --sequence 001
Replace splatad with neurad to train NeuRAD. Runs are saved under outputs/.
First-run CUDA compilation can take a few minutes. Open the
viewer URL printed in the terminal; for a remote host, forward port 7007, for
example with ssh -L 7007:localhost:7007 user@host.
If loading fails or the process is killed, check the lower-memory settings. For installation errors, see dependency troubleshooting.
Resume, view, and render
Run these commands from the repository root with .venv/activate-neurad sourced.
# Resume training; use the same model and dataset options as the original run.
ns-train splatad --load-dir outputs/path/to/nerfstudio_models \
pandaset-data --data data/pandaset --sequence 001
# Open a saved run in the viewer.
ns-viewer --load-config outputs/path/to/config.yml
# List rendering and export commands.
ns-render --help
ns-export --help
Models and configuration
| Model | Description |
|---|---|
splatad |
SplatAD: Gaussian splatting for camera and LiDAR rendering |
neurad |
NeuRAD: NeRF-based camera and LiDAR rendering |
unisim |
Unofficial UniSim implementation, installed as a plugin |
Use ns-train --help to list models, ns-train splatad --help for model options,
and ns-train splatad pandaset-data --help for dataset options. Nerfstudio's
static-scene methods, such as nerfacto and splatfacto, are also available.
To log training metrics, set --vis tensorboard, --vis wandb, or --vis comet
before pandaset-data. Use viewer+tensorboard, viewer+wandb, or viewer+comet
to keep the viewer enabled alongside logging.
Learn More
Extend the supported datasets or add a method. Bug reports and pull requests are welcome.
Adding Datasets
The following datasets have dataparsers. To add one, create a module in
nerfstudio/data/dataparsers/ with subclasses of ADDataParserConfig and
ADDataParser. Implement _get_cameras, _get_lidars, _read_lidars,
_get_actor_trajectories, and _generate_dataparser_outputs as needed.
| Data | Cameras | Lidars |
|---|---|---|
| 🚗 nuScenes | 6 cameras | 32-beam lidar |
| 🚗 ZOD (Annotations) | 1 camera | 128-beam + 2 x 16-beam lidars |
| 🚗 Argoverse 2 | 7 ring cameras + 2 stereo cameras | 2 x 32-beam lidars |
| 🚗 PandaSet (huggingface download) | 6 cameras | 64-beam lidar |
| 🚗 KITTIMOT (Timestamps) | 2 stereo cameras | 64-beam lidar |
| 🚗 Waymo v2 | 5 cameras | 64-beam lidar |
| 🚗 py123d | user-specified (pinhole) | user-specified |
A brief introduction about Waymo dataparser for NeuRAD can be found in waymo_dataparser.md. For training on py123d Arrow logs, see docs/py123d-data.md and the example config docs/examples/py123d_example.yaml.
Adding Methods
Nerfstudio has made it easy to add new methods, see here for details. We have added our UniSim reimplementation as a plugin, which can be run as any other method using the ns-train command:
ns-train unisim pandaset-data --data data/pandaset
and follow the instructions in the terminal.
See our UniSim repo for reference on how to add a new method as a plugin.
Key features
- Dataparser for multiple autonomous driving datasets including
- Dataparsing of lidar data (3D+intensity+time)
- Dataparsing of annotations
- Datamanager for lidar+image data
- Rolling shutter handling for ray generation
- Viewer improvements
- Lidar rendering
- Dynamic actor modifications
- NeuRAD - SOTA NeRF-based rendering method for dynamic AD scenes
- SplatAD - SOTA splatting-based rendering method for dynamic AD scenes
Built On
- Collaboration friendly studio for NeRFs
Citation
You can find our papers for NeuRAD and SplatAD on arXiv. You can also head over to our research blog for project pages and more papers on AD.
If you use this code or find our paper useful, please consider citing:
@inproceedings{tonderski2024neurad,
title={{NeuRAD}: Neural rendering for autonomous driving},
author={Tonderski, Adam and Lindstr{\"o}m, Carl and Hess, Georg and Ljungbergh, William and Svensson, Lennart and Petersson, Christoffer},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={14895--14904},
year={2024}
}
@inproceedings{hess2024splatad,
title={{SplatAD}: Real-Time Lidar and Camera Rendering with 3D Gaussian Splatting for Autonomous Driving},
author={Hess, Georg and Lindstr{\"o}m, Carl and Fatemi, Maryam and Petersson, Christoffer and Svensson, Lennart},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
year={2025}
}
Contributors
Jelajahi proyek terkait
Memuat…