DepthCrafter
Video depth estimation with a diffusion U-Net fine-tuned from Stable Video Diffusion.
Depth estimation · 3,630 operations Structure only
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Depth estimation
- Parameters
- 1.5B
- Operations
- 3,630
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2025
- Cited by
- 54 (as of 27 October 2026)
- Authors
- Wenbo Hu, Xiangjun Gao, Xiaoyu Li and others
- Source
- GitHub: Tencent/DepthCrafter
- License
- MIT
- Checked
- Structure only: shapes and data types are hypotheses, not measurements.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16059
- Graph hash
- d839bf6f4df51ce68cba3a988572ba1b2d405afe1761a16a54ea1280a1422eb6
- Skeleton hash
- a7512e9f6b2320727e8fe8078c1c61a296b55512fe51fb75bc64c45047642621
- Architecture hash
- 7bfb7ce3bd52c41817479ac1e80e5ec48a1ce4cd25729783baab156fe29d6163
- Diagram SHA-256
- 9ada19ef9143e1c692cddd8e2b1aa6a02bb9fbc38b5aadd3fc6e28063324af87
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
What it is
This model is DepthCrafter's denoising U-Net on its own, which takes the noisy depth latent concatenated frame by frame with the video latent.
DepthCrafter estimates depth for open-world videos, generating temporally consistent long depth sequences with fine-grained details without needing camera poses or optical flow. The paper frames video depth estimation as conditional diffusion generation and trains this video-to-depth model from Stable Video Diffusion (SVD), a pre-trained image-to-video diffusion model.
The SVD video autoencoder encodes both the frames and the depth, which is replicated to three channels to fit it. The denoising U-Net receives the video latent concatenated frame by frame with the noisy depth latent, and CLIP embeddings of each frame through cross-attention. Training runs in three stages: the model first learns on a large realistic dataset with clips of 1 to 25 frames, then only its temporal layers are tuned with clips of up to 110 frames, and finally only its spatial layers are tuned on a small synthetic dataset at 45 frames.
For longer videos, inference splits the video into overlapping segments of up to 110 frames, initializes each overlap by adding noise to the previous segment's denoised latent to anchor scale and shift, and blends the overlaps with weights that fall linearly from 1 to 0. The paper reports training at 320 × 640 on eight NVIDIA A100 GPUs for about five days, with 5 denoising steps by default at inference.
Key idea. DepthCrafter adapts a pre-trained image-to-video diffusion model into a video-to-depth model, using three-stage training to generate consistent depth sequences of up to 110 frames at once.
- depthcrafter
- video depth estimation
- video depth
- monocular depth estimation
- video diffusion
- temporally consistent depth
- depth sequences
- open-world videos
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{hu2024depthcraftergeneratingconsistentlong,
title={DepthCrafter: Generating Consistent Long Depth Sequences for Open-world Videos},
author={Wenbo Hu and Xiangjun Gao and Xiaoyu Li and Sijie Zhao and Xiaodong Cun and Yong Zhang and Long Quan and Ying Shan},
year={2024},
eprint={2409.02095},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2409.02095},
}