--- license: apache-2.0 tags: - onnx - depth-estimation - pose-estimation - multi-view-geometry base_model: depth-anything/DA3-BASE --- # Depth Anything 3 (Base) for the browser [Depth Anything 3](https://github.com/ByteDance-Seed/Depth-Anything-3)'s DA3-Base model (ByteDance, Apache 2.0), exported to ONNX for onnxruntime-web, as used by [Image Complex](https://github.com/lachiewelsh/image-complex) (its Process → Predict scene). Not an official release; the weights are ByteDance's, unchanged except for half precision. Exported with `scripts/da3/export.py --split` in that repository (`scripts/da3/README.md` says how, and what the export changes), checked against DA3's PyTorch code. | File | Input | Output | | --- | --- | --- | | `da3-base-backbone-fp16.onnx` (185 MB) | `images` float32 (1, N, 3, H, W): N ≥ 2 photos, ImageNet-normalised, H and W multiples of 14 | `pose_enc` (1, N, 9): camera centre (3), rotation as a quaternion x y z w (4), field of view across the height and the width (radians), camera-to-world, principal point at the centre; `feat0`…`feat3` (1, N, H/14 · W/14, 1536) | | `da3-base-head-fp16.onnx` (24 MB) | one photo's `feat0`…`feat3`, each reshaped to (1, H/14, W/14, 1536) | `depth`, `depth_conf` (1, H, W) | Attention runs as `com.microsoft.MultiHeadAttention` (onnxruntime's fused kernel, flash attention on WebGPU), so memory grows with the number of photos rather than its square. Inputs and outputs are float32; the arithmetic inside is half precision. Licence: Apache 2.0, as DA3-Base (`depth-anything/DA3-BASE`).