blanchon / dinodepth-model

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 18 2026
depth-estimation

Introduction of dinodepth-model

Model Details of dinodepth-model

DinoDepth — SDT depth heads on a frozen DINOv3 backbone

Trained Simple Depth Transformer (SDT) decoder heads for zero-shot affine-invariant (relative) monocular depth , reproducing AnyDepth (arXiv:2601.02760) on a frozen DINOv3 backbone. Only the small SDT decoder is trained; the DINOv3 encoder is frozen and loaded separately from Meta's checkpoints. Two heads are provided in this repo:

File Backbone Decoder params Train
sdt-vitl16.safetensors DINOv3 ViT-L/16 13.4 M 5 epochs
sdt-vits16.safetensors DINOv3 ViT-S/16 5.5 M 10 epochs

These are decoder weights only (~13/5 M params) — pair each with its matching frozen DINOv3 backbone ( facebook/dinov3-vitl16-pretrain-lvd1689m / -vits16- ).

Zero-shot benchmark (our protocol)

AbsRel ↓ / δ1 ↑ on NYUv2 (Eigen 654) and KITTI (Eigen 652), scored with per-image least-squares scale+shift alignment in disparity space, Eigen/Garg crop, 10 m / 80 m cap.

Model NYU AbsRel NYU δ1 KITTI AbsRel KITTI δ1
ViT-L/16 + SDT (this repo) 0.068 0.955 0.093 0.911
ViT-S/16 + SDT (this repo) 0.091 0.917 0.115 0.852
AnyDepth ViT-L (paper) 0.060 — 0.086 —
AnyDepth ViT-S (paper) 0.082 — 0.102 —

A faithful reproduction — ~0.01 AbsRel behind the paper on each benchmark (consistent across both backbones; plausibly the augmentation/data-filtering details AnyDepth underspecifies).

Usage
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from dinov3_depth.head import DepthModel, DepthModelConfig

# Frozen DINOv3 ViT-L/16 + (randomly-initialised) SDT head; default config matches the trained head
# (GroupNorm, fusion_channels=256).
model = DepthModel.from_pretrained(DepthModelConfig(backbone="vitl16"))
head = hf_hub_download("blanchon/dinodepth-model", "sdt-vitl16.safetensors")
model.head.load_state_dict(load_file(head))
model.eval()

# images: float [B, 3, H, W] in [0, 1], H and W multiples of 16. Returns affine-invariant disparity.
disparity = model(images)

(Use backbone="vits16" + sdt-vits16.safetensors for the small head.)

Architecture & training
  • Encoder: frozen DINOv3 ViT (LVD-1689M), patch 16; 4 intermediate layers tapped.
  • Decoder (SDT): softmax-fuse the 4 tapped layers at the patch grid → depthwise detail enhancer → two learned DySample ×4 upsamplers → output conv. GroupNorm, fusion width 256.
  • Loss: scale-and-shift-invariant + multi-scale gradient matching (1:2), on disparity.
  • Data: the harmonized 369K-image corpus at blanchon/dinodepth-dataset (Hypersim, VKITTI2, BlendedMVS, IRS, TartanAir). 768² input, AdamW lr 1e-3, PolyLR.
References

Runs of blanchon dinodepth-model on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About dinodepth-model huggingface.co Model

More dinodepth-model license Visit here:

https://choosealicense.com/licenses/apache-2.0

dinodepth-model huggingface.co

dinodepth-model huggingface.co is an AI model on huggingface.co that provides dinodepth-model's model effect (), which can be used instantly with this blanchon dinodepth-model model. huggingface.co supports a free trial of the dinodepth-model model, and also provides paid use of the dinodepth-model. Support call dinodepth-model model through api, including Node.js, Python, http.

dinodepth-model huggingface.co Url

https://huggingface.co/blanchon/dinodepth-model

blanchon dinodepth-model online free

dinodepth-model huggingface.co is an online trial and call api platform, which integrates dinodepth-model's modeling effects, including api services, and provides a free online trial of dinodepth-model, you can try dinodepth-model online for free by clicking the link below.

blanchon dinodepth-model online free url in huggingface.co:

https://huggingface.co/blanchon/dinodepth-model

dinodepth-model install

dinodepth-model is an open source model from GitHub that offers a free installation service, and any user can find dinodepth-model on GitHub to install. At the same time, huggingface.co provides the effect of dinodepth-model install, users can directly use dinodepth-model installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

dinodepth-model install url in huggingface.co:

https://huggingface.co/blanchon/dinodepth-model

Url of dinodepth-model

dinodepth-model huggingface.co Url

Provider of dinodepth-model huggingface.co

blanchon
ORGANIZATIONS

Other API from blanchon

huggingface.co

Total runs: 12
Run Growth: 6
Growth Rate: 50.00%
Updated:December 19 2023
huggingface.co

Total runs: 5
Run Growth: -7
Growth Rate: -140.00%
Updated:October 27 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 04 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 11 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 15 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 06 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 08 2024