unidepth_v1_vitb14
UniDepth V1 predicts metric depth and camera intrinsics from a single RGB image.
Depth estimation · 4,578 operations Checked
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
- 128.2M
- Operations
- 4,578
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR 2024
- Cited by
- 3 (as of 22 October 2026)
- Authors
- Luigi Piccinelli, Yung-Hsu Yang, Christos Sakaridis and others
- License
- CC-BY-NC-4.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
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
- m10776
- Graph hash
- 72c53c3b358c9091be41b8dbe111af9541979ffef21cec1379f2dc4ab2f6929d
- Skeleton hash
- 490d2a48272caa48700c4880d19bb50d9aa6b8313fcb7ee0e2ba7032d00b2d87
- Architecture hash
- 7065851eebc5283056192781bb2a195724da5fae9298eaf84c34ce4a5ce2f8f0
- Diagram SHA-256
- 06ecb1828bf7f20196553928b36dfe74b58cfae4acb5b5bf90867f3429a45337
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model uses a ViT-B encoder, which fits the paper's design, where the encoder can be either convolutional or ViT-based.
UniDepth estimates metric depth from a single image: it predicts metric 3D points directly from the input image, without any additional information at inference time. The paper's motivation is that earlier monocular metric depth estimation methods fail to generalize to domains they were not trained on.
The network comprises an encoder backbone, a camera module and a depth module. The camera module predicts a dense camera representation, expressed as azimuth and elevation angles, and passes it to the depth module through a cross-attention layer. The output space is pseudo-spherical, with a basis defined by azimuth, elevation and log-depth, which keeps the camera components apart from the depth component. During training, a geometric invariance loss enforces consistency between camera-conditioned depth features from different geometric augmentations.
The paper evaluates UniDepth on ten datasets in a zero-shot regime and reports better results than the methods it compares with, including methods trained directly on the testing domains. It also reports that UniDepth ranked first in the official KITTI Depth Prediction Benchmark at the time. With the authors' code, the model produces a metric depth estimate and a prediction of the camera intrinsics directly from an RGB image.
Key idea. UniDepth predicts metric 3D points from a single image across domains by conditioning its depth features on a dense camera representation that the model predicts itself.
- UniDepth
- UniDepthV1
- monocular metric depth estimation
- metric depth
- depth estimation
- MMDE
- zero-shot depth estimation
- camera intrinsics prediction
- single-image 3D
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{piccinelli2024unidepthuniversalmonocularmetric,
title={UniDepth: Universal Monocular Metric Depth Estimation},
author={Luigi Piccinelli and Yung-Hsu Yang and Christos Sakaridis and Mattia Segu and Siyuan Li and Luc Van Gool and Fisher Yu},
year={2024},
eprint={2403.18913},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2403.18913},
}