{ "architecture": "DepthPro2 (DINOv3 ViT-L/16 encoder with cross-frame attention, DPT decoder)", "model_type": "depthpro2", "base_model": "apple/DepthPro2-L", "base_revision": "849dc5461267e0bc006ec63ab46920ea1ed98702", "parameters": 333958465, "focal_estimator_removed": true, "removed_network": "apple/DepthPro2-focal (23.5M parameters)", "dynamic_shapes": true, "input": { "pixel_values": "float32 (1, 3, H, W), RGB in [0, 1], ImageNet normalisation applied inside the graph", "f_px": "float32 (1,), horizontal focal length in pixels of pixel_values", "multiple_of": 32, "tested_geometries": [ "480x640", "736x1280", "1088x1920" ] }, "output": { "inverse_depth": "float32 (1, H, W), focal-normalised inverse depth, 0 at infinite distance", "depth_meters": "float32 (1, H, W), z-depth in metres, inf where inverse_depth is 0" }, "precisions": [ "fp32", "fp16", "bf16", "int8", "int4-mixed" ], "variants": { "onnx/model.onnx": { "precision": "fp32", "size_mb": 1339.3, "parity_vs_pytorch_fp32": { "abs_rel_inv": 0.0, "delta1": 1.0 } }, "onnx/model_fp16.onnx": { "precision": "fp16 weights, fp32 compute", "size_mb": 673.6, "parity_vs_pytorch_fp32": { "abs_rel_inv": 0.0001, "delta1": 1.0, "boundary_f1": 0.9997 }, "note": "full fp16 compute overflows: a prefix token reaches ~1.3e5, above the fp16 maximum" }, "onnx/model_bf16.onnx": { "precision": "bf16 weights, fp32 compute", "size_mb": 673.6, "parity_vs_pytorch_fp32": { "abs_rel_inv": 0.0014, "delta1": 1.0, "boundary_f1": 0.9942 } }, "onnx/model_int8.onnx": { "precision": "int8 weight-only QDQ, per-output-channel", "size_mb": 419.8, "parity_vs_pytorch_fp32": { "abs_rel_inv": 0.0019, "delta1": 0.9998, "boundary_f1": 0.9966 } }, "onnx/model_w4mixed.onnx": { "precision": "GPTQ int4 (group 32) with qkv/fc2/convs at int8", "size_mb": 359.6, "parity_vs_pytorch_fp32": { "abs_rel_inv": 0.0108, "delta1": 0.9963, "boundary_f1": 0.9905 } } }, "evaluation": { "dataset": "NYUv2 val (Ultralytics nyu-depth-png), 300 images", "geometry": "480x640", "focal": "fitted once on fp32, f_px = 484.20, frozen for all candidates", "metric": "abs_rel_inv = sum|1/d_pred - 1/d_gt| / sum(1/d_gt) against PyTorch fp32" } }