DA3METRIC-LARGE OpenVINO fused IR (uint8 in, dynamic H×W)
Deployment variant of depth-anything/DA3METRIC-LARGE: the same FP32 net with uint8 HWC preprocess fused in front. Format conversion only. No training.
This is an optimized/deployment OpenVINO graph, not weight-quantized. The Hub “Quantized” relationship is used only because Hugging Face currently does not provide a dedicated model-conversion/deployment-optimization relationship.
Sibling net-only IR (float32 NCHW 1×3×336×504 in): light434/da3metric-large-openvino.
Input: uint8 NHWC RGB, shape 1 × H × W × 3 (H and W dynamic).
Preprocess (in graph): longest side → 504, then bilinear to 336×504 (multiples of 14), ImageNet mean/std.
Outputs: canonical depth_raw, sky. Metric depth: depth_m = focal * raw / 300.
The DA3 OpenVINO net itself is static 336×504. Other camera sizes are resized to that grid.
Files
da3metric-large-fused.xmlda3metric-large-fused.bin(FP32 weights)
Usage
import numpy as np
import openvino as ov
core = ov.Core()
compiled = core.compile_model("da3metric-large-fused.xml", "GPU") # or "CPU"
# rgb: uint8 HWC, any H×W; add a batch dim
depth_raw, sky = compiled([rgb[None, ...]])
Measured (Intel Arc B580, OpenVINO GPU)
Pre+net only (no hole-safe). Split = sibling net IR + a separate OpenVINO resize/ImageNet graph. Eight 408×612 stills.
| Still | Split pre+net | Fused | Depth maxabs | Rel. error | Sky MAE |
|---|---|---|---|---|---|
| thetestimage1 | 17.0 ms | 15.7 ms | 0.070 | 0.73% | ~0 |
| 01_trail | 17.1 ms | 15.6 ms | 0.078 | 0.83% | ~0 |
| 02_testimage2 | 17.0 ms | 15.7 ms | 0.031 | 0.66% | ~0 |
| 03_testimage3 | 17.0 ms | 15.5 ms | 0.086 | 1.03% | ~0 |
| 04_pictured_rocks | 17.1 ms | 15.7 ms | 0.078 | 1.04% | ~0 |
| 05_ti4 | 17.1 ms | 15.7 ms | 0.102 | 1.66% | ~0 |
| 06_extra_trail | 17.1 ms | 15.5 ms | 0.109 | 1.59% | ~0 |
| 07_extra_forest | 17.1 ms | 15.7 ms | 0.094 | 1.31% | ~0 |
| Mean | 17.0 ms / 58.7 FPS | 15.6 ms / 63.9 FPS |
License
Apache 2.0, same as depth-anything/DA3METRIC-LARGE.
@article{depth_anything_3,
title={Depth Anything 3: Recovering the Visual Space from Any Views},
author={Lin, Haotong and Chen, Sili and Liew, Junhao and Chen, Donny Y. and Li, Zhenyu and Shi, Guang and Feng, Jiashi and Kang, Bingyi},
journal={arXiv preprint arXiv:2511.10647},
year={2025}
}