GOZA37 commited on
Commit
07ddb4d
·
verified ·
1 Parent(s): bbfe706

Android: ZipDepth rewritten for mobile GPUs (correct on Mali-G615, 65 ms), DA2 with precomputed position embeddings

Browse files
README.md CHANGED
@@ -35,11 +35,11 @@ Float32 LiteRT files for the Android port (`android/` in the app repo), portrait
35
  | `tflite/depth_anything_v2_small.tflite` | Depth Anything V2 Small (from `depth-anything/Depth-Anything-V2-Small-hf`) | 280x364, ImageNet-normalised, NCHW | relative disparity | 1.6e-3 (tanh GELU) | Apache-2.0 |
36
  | `tflite/depth_anything_v2_small_196x252.tflite` | same, smaller input | 196x252 | relative disparity | 1.4e-3 | Apache-2.0 |
37
  | `tflite/depth_anything_v2_small_518x686.tflite` | same, full detail | 518x686 | relative disparity | 1.7e-3 | Apache-2.0 |
38
- | `tflite/zipdepth_base.tflite` | ZipDepth base, NPU checkpoint, exact global-context block | 384x512, RGB [0, 1] | relative disparity | 1.0e-6 | MIT |
39
  | `tflite/yolo26n_depth.tflite` | YOLO26n depth (Ultralytics `format=litert`) | 640x640, RGB [0, 1] | metric depth (m) | 5.4e-7 | AGPL-3.0 |
40
  | `tflite/yolo11n.tflite` | YOLO11n detector (Ultralytics `format=litert`) | 640x640, RGB [0, 1] | [1, 84, 8400], boxes normalised | exact (classes) | AGPL-3.0 |
41
 
42
- DA2: the exact GELU does not convert with litert-torch 0.10, so the tanh approximation is used.
43
 
44
  Each model keeps the licence of its authors; see LICENSE.md. The Ultralytics models are AGPL-3.0: if you build on
45
  them in a product, check [Ultralytics licensing](https://www.ultralytics.com/license).
 
35
  | `tflite/depth_anything_v2_small.tflite` | Depth Anything V2 Small (from `depth-anything/Depth-Anything-V2-Small-hf`) | 280x364, ImageNet-normalised, NCHW | relative disparity | 1.6e-3 (tanh GELU) | Apache-2.0 |
36
  | `tflite/depth_anything_v2_small_196x252.tflite` | same, smaller input | 196x252 | relative disparity | 1.4e-3 | Apache-2.0 |
37
  | `tflite/depth_anything_v2_small_518x686.tflite` | same, full detail | 518x686 | relative disparity | 1.7e-3 | Apache-2.0 |
38
+ | `tflite/zipdepth_base.tflite` | ZipDepth base, NPU checkpoint, blocks rewritten exactly for mobile GPUs / NNAPI (see the export script) | 384x512, RGB [0, 1] | relative disparity | 1.5e-6 | MIT |
39
  | `tflite/yolo26n_depth.tflite` | YOLO26n depth (Ultralytics `format=litert`) | 640x640, RGB [0, 1] | metric depth (m) | 5.4e-7 | AGPL-3.0 |
40
  | `tflite/yolo11n.tflite` | YOLO11n detector (Ultralytics `format=litert`) | 640x640, RGB [0, 1] | [1, 84, 8400], boxes normalised | exact (classes) | AGPL-3.0 |
41
 
42
+ DA2: the exact GELU does not convert with litert-torch 0.10, so the tanh approximation is used; the position embeddings are precomputed for the fixed input size.
43
 
44
  Each model keeps the licence of its authors; see LICENSE.md. The Ultralytics models are AGPL-3.0: if you build on
45
  them in a product, check [Ultralytics licensing](https://www.ultralytics.com/license).
tflite/depth_anything_v2_small.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2410f0bcc7c5b04b85ad7af5714c452e7788394341d39a99a70b62e436bde21
3
- size 99511348
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a279db5aa6e8e0656fedd1211fb14d21620b43a78cb6259fa16243445071d0e
3
+ size 98163628
tflite/depth_anything_v2_small_196x252.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0999ff52e479546787c33bdb5a1f31b7406f6d2f0924f5a7dbbf37bc85e3895d
3
- size 99510632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d2b9f6d3698dfdaa0783af03a36f905afa232ac06d8cfc07982ca513719524d
3
+ size 97751712
tflite/depth_anything_v2_small_518x686.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7be3805e5834797d07d454e6798a7625491c9313c60ac2e64fa41a64043487bc
3
- size 99483640
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78457e794e823c8e4323503f155582b76ffbabeab4c6f85f972c11e62a08e16c
3
+ size 100150272
tflite/zipdepth_base.tflite CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3de3986334cedb47b618ba06f8927c695194261f7b78361064a03f015b47a678
3
- size 24671368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d4c1aa137b8f1cb6e4532480254c58993095a5c695c9ca7571a183989289ee6
3
+ size 25858948