File size: 5,261 Bytes
2f5b55b c266f83 667423d 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b e7d4a96 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b c266f83 2f5b55b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | ---
library_name: pytorch
pipeline_tag: image-to-3d
license: other
base_model:
- facebook/dinov2-with-registers-base
- google/siglip2-base-patch16-256
datasets:
- tracywei/scannet_3drae
---
# 3DRAE and 3DDiT
Pretrained weights for **Any 3D Scene is Worth 1K Tokens: 3D-Grounded Representation for Scene Generation at Scale** (NeurIPS 2026).
3DRAE encodes an arbitrary number of calibrated multi-view images into a fixed-length 3D-grounded representation. 3DDiT performs diffusion modeling directly in this latent space for efficient and spatially consistent 3D scene generation.
- [Paper](https://arxiv.org/abs/2604.11331)
- [Project page](https://wswdx.github.io/3DRAE)
- [Code](https://github.com/WU-CVGL/3DRAE)
- [Processed ScanNet data](https://huggingface.co/datasets/tracywei/scannet_3drae)
https://github.com/user-attachments/assets/9c584612-5fa0-4cfb-b711-046b8c0a2446
## Model Variants
| Variant | Latent shape | Reconstruction / NVS | Point maps | 3D generation |
| --- | ---: | :---: | :---: | :---: |
| `dino2` | `1024 x 768` | Yes | Yes | Yes |
| `dino2-256` | `256 x 768` | Yes | No | No |
| `siglip2` | `256 x 768` | Yes | No | No |
The released 3DDiT checkpoint is paired with the 1024-token DINOv2 representation.
## Quick Start
Clone the official implementation and create the recommended Python 3.10 environment:
```bash
git clone https://github.com/WU-CVGL/3DRAE.git
cd 3DRAE
uv sync --python 3.10
source .venv/bin/activate
```
Download the complete checkpoint bundle into `checkpoints/`:
```bash
hf download tracywei/3drae \
--exclude "README.md" ".gitattributes" \
--local-dir checkpoints
```
Verify the downloaded files:
```bash
python tools/verify_checkpoints.py
```
Run novel-view synthesis on a bundled calibrated example:
```bash
python scripts/reconstruct.py \
--model dino2 \
--scene examples/scene_000 \
--condition-frame-ids 0 5 \
--target-frame-ids 6 7 8 9 \
--output-dir outputs/example_nvs_dino2
```
Run single-view conditioned 3D scene generation with a synthetic camera trajectory:
```bash
python scripts/generate.py \
--scene examples/scene_000 \
--appearance-condition-frame-ids 0 \
--trajectory-mode synthetic-orbit \
--output-dir outputs/example_generation_1view_synthetic
```
See the [official repository](https://github.com/WU-CVGL/3DRAE) for Python APIs, additional conditioning settings, training, feature extraction, dense-view reconstruction, and the interactive Viser viewer.
## Checkpoint Contents
```text
backbones/
βββ dinov2-with-registers-base/
βββ siglip2-base-patch16-256/
dino2/
βββ neck.safetensors
βββ decoder.safetensors
βββ point_decoder.safetensors
βββ stats.safetensors
βββ 3ddit.safetensors
dino2_256/
βββ neck.safetensors
βββ decoder.safetensors
βββ stats.safetensors
siglip2/
βββ neck.safetensors
βββ decoder.safetensors
βββ stats.safetensors
discriminator/
perceptual/
manifest.json
```
Files under `discriminator/` and `perceptual/` are required only for Stage 1 training. File provenance, sizes, and SHA256 checksums are recorded in `manifest.json`.
## Input and Output
Inference expects calibrated multi-view RGB images with camera intrinsics and OpenCV world-to-camera extrinsics. The repository includes ready-to-run examples and documents the exact scene format.
Depending on the selected checkpoint, 3DRAE can output fixed-length 3D latent tokens, novel-view RGB images, world-space point maps, confidence maps, and fused RGB point clouds. 3DDiT generates a 3D latent that can be decoded along arbitrary camera trajectories.
## Limitations
- The released models require calibrated camera intrinsics and poses; they are not pose-free reconstruction models.
- The released 3DDiT checkpoint supports DINOv2-based 1024-token generation. The compact DINOv2 and SigLIP2 variants are reconstruction/NVS models only.
- The compact DINOv2 and SigLIP2 variants predict RGB images but do not include point-map decoders.
- Generated content may be inaccurate or inconsistent for sparse observations, large viewpoint extrapolation, or domains far from the training distribution.
- The model produces implicit latent representations, rendered images, and optional point maps rather than explicit watertight meshes.
## Sources and Terms
The bundle includes the [DINOv2 with registers base](https://huggingface.co/facebook/dinov2-with-registers-base) and [SigLIP2 base patch16 256](https://huggingface.co/google/siglip2-base-patch16-256) foundation backbones. It also includes the auxiliary DINO discriminator and VGG/LPIPS weights required by the released Stage 1 training configuration. Third-party files remain subject to their original licenses and terms.
The released code is available under the [MIT License](https://github.com/WU-CVGL/3DRAE/blob/main/LICENSE).
## Citation
```bibtex
@inproceedings{wei20263drae,
title = {Any 3D Scene is Worth 1K Tokens: 3D-Grounded Representation for Scene Generation at Scale},
author = {Wei, Dongxu and Xu, Qi and Li, Zhiqi and Zhou, Hangning and Qiu, Cong and Qin, Hailong and Yang, Mu and Cui, Zhaopeng and Liu, Peidong},
booktitle = {Advances in Neural Information Processing Systems},
year = {2026}
}
```
|