Models

Monocular depth models (one image)

18 depth models. Each section says what the model is, whether it may be used commercially and how fast it is; licences and checks are under Details.

Input: one RGB image. Output: a depth or inverse-depth map. kind (a card field, result.kind) says what the numbers mean: metric = metres; scale_invariant, affine_invariant and affine_invariant_inverse are relative (unknown scale or shift, not metres). Metric models that use the focal length take model(image, intrinsics=K) (K [3, 3], pixels of the input): metric3d-vit-large and da3metric-large need it for correct metres (da3metric-large: metres = output x focal / 300; without intrinsics= a 300 px focal length is assumed, wrong for a real camera). unidepth-v2-vitl14, unik3d-vitl, depth-pro and MoGe estimate the camera themselves (given intrinsics= replace fx); zoedepth-nk and the relative models (da3mono-large too) take none.

Measured on RTX 5060 Ti, torch 2.14.1+cu130; fastforks bench MODEL --size HxW measures yours. The summary uses one input, 994x1482: kernels time with its speed-up over the faster original run, and kernels peak reserved memory with its ratio to the smaller original one. Where measured (one variant per family), a variant's table also lists portable under torch.compile and the fp16 TensorRT engine of portable (export; memory: the engine's device memory). – = not measured. The accuracy column is lower-is-better (NYUv2 AbsRel (scale+shift aligned)).

Other devices: Apple M1 Pro 16 GB, NVIDIA L4, NVIDIA L40S, NVIDIA A10, NVIDIA A100-SXM4-40GB, NVIDIA RTX PRO 6000; across devices.

modelcommercialNYUv2 AbsRel (scale+shift aligned) ↓kernels time (ms),
speed-up vs original
kernels peak memory (MiB, reserved),
ratio to original
da3-giant-1.1no0.039744.19, 5.1x2710, 0.42x
da3-large-1.1no0.046817.13, 9.7x1090, 0.38x
da3metric-largeyes0.039814.71, 5.8x868, 0.35x
da3mono-largeyes0.040214.56, 5.8x868, 0.35x
da3nested-giant-large-1.1no0.038758.23, 5.3x3378, 0.44x
depth-anything-v2-bno0.046210.51, 6.0x436, 0.46x
depth-anything-v2-lno0.043931.12, 4.5x1034, 0.44x
depth-anything-v2-syes0.05094.51, 9.1x248, 0.59x
depth-prono0.0425270.93, 2.1x3778, 0.88x
marigold-depth-v1-1yes0.0561383.17, 1.1x3762, 1.1x
metric3d-vit-largeyes0.0546158.46, 2.8x1688, 0.54x
midas-dpt-beit-large-512yes0.048763.89, 5.2x1436, 0.5x
moge-2-vitl-normalyes0.035773.43, 2.3x1610, 0.66x
moge-2-vits-normalyes0.048429.73, 2.8x1008, 0.79x
moge-3-vitlyes0.0356214.71, 2.3x1884, 0.72x
unidepth-v2-vitl14no0.035566.37, 2.0x1472, 0.42x
unik3d-vitlno0.034662.92, 2.1x1266, 0.35x
zoedepth-nkyes0.053288.87, 3.1x1960, 0.91x

All models

Modes, licences, training data and outputs per model

Commercial status per variant: yes if the code and the weights licence both allow commercial use (the training data is listed but does not change it; weights without a licence of their own are assumed to carry the code licence); no if either forbids it; unclear for custom licence terms (treat as no).

modelmodescode licenceweights licencetraining datacommercialoutputs
da3-giant-1.1portable, kernelsApache-2.0CC-BY-NC-4.0unstatedno (weights: CC-BY-NC-4.0)depth, confidence, intrinsics, mask, sky
da3-large-1.1portable, kernelsApache-2.0CC-BY-NC-4.0unstatedno (weights: CC-BY-NC-4.0)depth, confidence, intrinsics, mask, sky
da3metric-largeportable, kernelsApache-2.0Apache-2.0unstatedyesdepth, confidence, intrinsics, mask, sky
da3mono-largeportable, kernelsApache-2.0Apache-2.0unstatedyesdepth, confidence, intrinsics, mask, sky
da3nested-giant-large-1.1portable, kernelsApache-2.0CC-BY-NC-4.0unstatedno (weights: CC-BY-NC-4.0)depth, confidence, intrinsics, mask, sky
depth-anything-v2-bportable, kernelsApache-2.0CC-BY-NC-4.0unstatedno (weights: CC-BY-NC-4.0)inverse_depth
depth-anything-v2-lportable, kernelsApache-2.0CC-BY-NC-4.0unstatedno (weights: CC-BY-NC-4.0)inverse_depth
depth-anything-v2-sportable, kernelsApache-2.0Apache-2.0unstatedyesinverse_depth
depth-proportable, kernelsLicenseRef-Apple-Sample-CodeLicenseRef-research-onlyunstatedno (weights: LicenseRef-research-only)depth, intrinsics
marigold-depth-v1-1portable, kernelsApache-2.0LicenseRef-CreativeML-OpenRAIL-PlusPlus-Munstatedyesdepth
metric3d-vit-largeportable, kernelsBSD-2-ClauseBSD-2-Clause (assumed from code)unstatedyesdepth, normals, confidence
midas-dpt-beit-large-512portable, kernelsMITMIT (assumed from code)unstatedyesinverse_depth
moge-2-vitl-normalportable, kernelsMITMITunstatedyesdepth, points, intrinsics, mask, normals
moge-2-vits-normalportable, kernelsMITMITunstatedyesdepth, points, intrinsics, mask, normals
moge-3-vitlportable, kernelsMITMITunstatedyesdepth, points, intrinsics, mask, normals
unidepth-v2-vitl14portable, kernelsCC-BY-NC-4.0CC-BY-NC-4.0 (assumed from code)unstatedno (code: CC-BY-NC-4.0 (noncommercial); weights: CC-BY-NC-4.0 (assumed from code))depth, points, intrinsics, confidence
unik3d-vitlportable, kernelsCC-BY-NC-SA-4.0CC-BY-NC-SA-4.0 (assumed from code)unstatedno (code: CC-BY-NC-SA-4.0 (noncommercial); weights: CC-BY-NC-SA-4.0 (assumed from code))depth, points, confidence
zoedepth-nkportable, kernelsMITMIT (assumed from code)unstatedyesdepth

Training datasets

iddatasetlicencecommercial use