DA3-Base for the browser: backbone and depth head, half precision
Browse filesFiles changed (3)
- README.mdAdded+34
- da3-base-backbone-fp16.onnxAdded+3
- da3-base-head-fp16.onnxAdded+3
12345678910111213141516171819202122232425262728293031323334---license: apache-2.0tags: - onnx - depth-estimation - pose-estimation - multi-view-geometrybase_model: depth-anything/DA3-BASE---
# Depth Anything 3 (Base) for the browser
[Depth Anything 3](https://github.com/ByteDance-Seed/Depth-Anything-3)'sDA3-Base model (ByteDance, Apache 2.0), exported to ONNX foronnxruntime-web, as used by[Image Complex](https://github.com/lachiewelsh/image-complex) (itsProcess → Predict scene). Not an official release; the weights areByteDance'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), checkedagainst 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 fusedkernel, flash attention on WebGPU), so memory grows with the number ofphotos rather than its square. Inputs and outputs are float32; thearithmetic inside is half precision.
Licence: Apache 2.0, as DA3-Base (`depth-anything/DA3-BASE`).123version https://git-lfs.github.com/spec/v1oid sha256:c5de119384208e35c08a2000b36752998fde1c9b09fd009a33553951942da4e9size 184858951123version https://git-lfs.github.com/spec/v1oid sha256:c6f3a3299140a9a885f48edcd88f30ffde22e8a6e964034a5556b7f1c7506b75size 23780438README.mdAdded+34
da3-base-backbone-fp16.onnxAdded+3
da3-base-head-fp16.onnxAdded+3