Views
No views yet
| 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 |
facebook/dinov3-vitl16-pretrain-lvd1689m / -vits16-).| 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 | — |
1from huggingface_hub import hf_hub_download
2from safetensors.torch import load_file
3from dinov3_depth.head import DepthModel, DepthModelConfig
4
5# Frozen DINOv3 ViT-L/16 + (randomly-initialised) SDT head; default config matches the trained head
6# (GroupNorm, fusion_channels=256).
7model = DepthModel.from_pretrained(DepthModelConfig(backbone="vitl16"))
8head = hf_hub_download("blanchon/dinodepth-model", "sdt-vitl16.safetensors")
9model.head.load_state_dict(load_file(head))
10model.eval()
11
12# images: float [B, 3, H, W] in [0, 1], H and W multiples of 16. Returns affine-invariant disparity.
13disparity = model(images)backbone="vits16" + sdt-vits16.safetensors for the small head.)blanchon/dinodepth-dataset (Hypersim, VKITTI2,
BlendedMVS, IRS, TartanAir). 768² input, AdamW lr 1e-3, PolyLR.