Depth Anything V2 Base, fine-tuned for metric depth on NYU Depth V2
Depth Anything V2 Base with its head switched to metric depth
(max_depth = 10 m), fine-tuned on NYU Depth V2 for 150 minutes on one Kaggle T4
(16,748 steps, 66,992 images). Training code: plain PyTorch, SILog loss (λ = 0.85),
AdamW with a 10× decoder learning rate, mixed precision.
Use
from transformers import pipeline
depth = pipeline("depth-estimation", model="praiseorji4/depth-anything-v2-base-nyu-metric")
metres = depth("room.jpg")["predicted_depth"] # metres, 0-10
Results: official NYU Depth V2 test set (654 images, Eigen crop, 1 mm to 10 m)
| model | AbsRel ↓ | RMSE (m) ↓ | δ1 ↑ |
|---|---|---|---|
| Depth-Anything-V2-Metric-Indoor-Base, zero-shot | 0.220 | 0.661 | 0.662 |
| this model | 0.100 | 0.362 | 0.931 |
AbsRel is 54% lower than the official zero-shot metric-indoor model.
Limits
- Tuned to NYU's Kinect camera and indoor rooms. On DIODE indoor (a different sensor) it is worse than the zero-shot model: AbsRel 0.298 vs 0.235. Metric scale is tied to the camera.
- Outputs are capped at 10 m.
- One short run, one seed; the best checkpoint was chosen on 8 held-out training scenes.
Licence
CC-BY-NC-4.0, inherited from Depth Anything V2 Base. NYU Depth V2 (Silberman et al., ECCV 2012) is for non-commercial research. Built on: Yang et al., Depth Anything V2 (NeurIPS 2024).