File size: 4,452 Bytes
4fe2153 72b693f 4fe2153 72b693f 4fe2153 72b693f 4fe2153 72b693f 4fe2153 72b693f 4fe2153 72b693f 4fe2153 72b693f 4fe2153 72b693f 4fe2153 | 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 | ---
license: cc-by-nc-4.0
library_name: vg3r
pipeline_tag: image-to-3d
tags:
- 3d-reconstruction
- camera-pose-estimation
- depth-estimation
- video
- feed-forward
base_model:
- Wan-AI/Wan2.1-T2V-1.3B
- FayeHongfeiZhang/DVD
---
# VG3R: Video Generation Model for Feed-Forward 3D Reconstruction
<p align="left"><a href="https://arxiv.org/abs/2611.28520"><img src="https://img.shields.io/badge/arXiv-2611.28520-b31b1b?logo=arxiv&logoColor=white" alt="arXiv"></a> <a href="https://github.com/KTH-RPL/VG3R"><img src="https://img.shields.io/badge/GitHub-Code-181717?logo=github&logoColor=white" alt="GitHub"></a> <a href="https://kth-rpl.github.io/VG3R/"><img src="https://img.shields.io/badge/Project-Page-4b6bfb?logo=googlechrome&logoColor=white" alt="Project Page"></a></p>
**Paper:** [arXiv:2611.28520](https://arxiv.org/abs/2611.28520) · **Code:** [github.com/KTH-RPL/VG3R](https://github.com/KTH-RPL/VG3R) · **Project page:** [kth-rpl.github.io/VG3R](https://kth-rpl.github.io/VG3R/)
VG3R turns a pretrained video generation model into a feed-forward 3D reconstruction model. From a video, it predicts the depth and the camera of every frame and a point cloud of the scene, without iterative denoising. The backbone is the diffusion transformer (DiT) of Wan2.1-T2V-1.3B with the LoRA of DVD, fine-tuned by us. Two heads read the tokens of the DiT: ClipShift predicts one shift per clip, which turns the decoded inverse depth into depth up to a single scale per video, and LayerTap predicts the camera of every frame from the final tokens and the outputs of two intermediate blocks.
## Usage
```bash
git clone https://github.com/KTH-RPL/VG3R.git && cd VG3R && pip install -e .
hf download Jingong/VG3R vg3r.safetensors --local-dir weights
hf download Wan-AI/Wan2.1-T2V-1.3B diffusion_pytorch_model.safetensors Wan2.1_VAE.pth \
--revision 37ec512624d61f7aa208f7ea8140a131f93afc9a --local-dir weights/Wan2.1-T2V-1.3B
hf download FayeHongfeiZhang/DVD dvd_1.1.safetensors \
--revision 769534dec2d77f8da3667719568fbe57fe69cd9b --local-dir weights/DVD
```
```python
from vg3r import VG3R, predict
from vg3r.io import read_frames
model = VG3R.from_pretrained("weights", "cuda")
pred = predict(model, read_frames("video.mp4")) # depth, c2w, K, points
```
See the [repository](https://github.com/KTH-RPL/VG3R) for the installation of PyTorch, the output conventions, demos and evaluation.
## Model
- `vg3r.safetensors` (float32, 3.1 GB) holds what VG3R adds to its backbone: the LoRA of the DiT (rank 512, 0.70 B parameters, initialized from DVD v1.1) and the two heads (72 M parameters). VG3R also uses the DiT (1.3 B) and the VAE of Wan2.1-T2V-1.3B and the DVD v1.1 weights.
- Trained on 11 public datasets: ScanNet++, TartanAir V2, Matterport3D, ScanNet, PointOdyssey, Dynamic Replica, Spring, Virtual KITTI 2, DL3DV, Waymo and RealEstate10K, for about 40 hours on 128 NVIDIA GH200 GPUs.
- Frames are resized to about 288 × 512 pixels. A video of up to 37 frames is processed at once, a longer one in overlapping windows of 37 frames. Depth and cameras take 74 to 84 ms per frame on one NVIDIA GH200 (Table 2 of the paper).
- SHA-256 of `vg3r.safetensors`: ebd03161ad0f6a083148f93b9075ff664ffadef5b7a75d3bb78b5ddc1959a482
## Acknowledgments
VG3R builds on the code and models of [Wan2.1](https://github.com/Wan-Video/Wan2.1), [DVD](https://huggingface.co/FayeHongfeiZhang/DVD) (which builds on [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio)) and [VGGT](https://github.com/facebookresearch/vggt), whose camera head LayerTap uses. The evaluation runs the evaluation code of [π³](https://github.com/yyfz/Pi3) and the TAE code of [Video Depth Anything](https://github.com/DepthAnything/Video-Depth-Anything).
## License
The weights are released under CC BY-NC 4.0 (see `LICENSE`), as the DVD weights they are fine-tuned from: non-commercial research use only. The code on [GitHub](https://github.com/KTH-RPL/VG3R) is under the MIT License, except the third-party code it includes, whose licenses are listed there.
## Citation
```bibtex
@article{chen2026vg3r,
title = {{VG3R}: Video Generation Model for Feed-Forward {3D} Reconstruction},
author = {Chen, Jingong and Zhang, Qingwen and Jiang, Linlian and
Zuo, Xinxin and Wang, Yang and Pack, Chulwoo and
Gao, Kyle and Jensfelt, Patric and Won, Kwanghee},
journal = {arXiv preprint arXiv:2611.28520},
year = {2026}
}
```
|