YakumoAkayi commited on
Commit
f431155
·
verified ·
1 Parent(s): 85ec8ff

Agora board builds (Model Farm, verified on real boards)

Browse files
LICENSE_MODEL_FARM.pdf ADDED
Binary file (71.1 kB). View file
 
NOTICE.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Provenance
2
+
3
+ Resources are copied without binary changes from the APLUX Model Farm build `MediaPipe-Hand` that Agora verified on real boards (decoded sample check, then measured), pinned by sha256 in SHA256SUMS.
4
+
5
+ Agora arranges files under targets/<SoC>/<precision>/ and adds model.json. AidLite, AidGen, AidVoice and the Qualcomm QNN runtime are separate dependencies with their own terms.
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: aplux-model-farm
4
+ license_link: https://huggingface.co/APLUX-Agora/MediaPipe-Hand/blob/main/LICENSE_MODEL_FARM.pdf
5
+ pipeline_tag: keypoint-detection
6
+ tags: [Agora, QNN, AIoT, Qualcomm]
7
+ ---
8
+
9
+ # MediaPipe-Hand model resources
10
+
11
+ MediaPipe-Hand,使用 Model Farm 官方预处理与样例,逐板卡验证。
12
+
13
+ Board builds that [Agora](https://mega.aidlux.com) runs and measures on real Qualcomm boards. Try it online, without a board: https://mega.aidlux.com/models/mediapipe-hand
14
+
15
+ | SoC · board | Precisions | Measured on Agora (default precision) |
16
+ | --- | --- | --- |
17
+ | QCS6490 · 犀牛派 A1 (Rhino Pi A1) | W8A16, W8A8 | 7.4 ms |
18
+ | QCS8550 · 犀牛派 X1 (Rhino Pi X1) | FP16, W8A16, W8A8 | 3.9 ms |
19
+
20
+ Task: 关键点. Inputs: image (image). Outputs: keypoints (keypoints), boxes (boxes), out (json).
21
+
22
+ ## Download
23
+
24
+ ```bash
25
+ export AGORA_WORKSPACE="$HOME/my-mediapipe-hand"
26
+ export AGORA_SOC='QCS8550'
27
+ hf download APLUX-Agora/MediaPipe-Hand \
28
+ --include "targets/$AGORA_SOC/*" --local-dir "$AGORA_WORKSPACE/resources"
29
+ ```
30
+
31
+ Each `targets/<SoC>/` holds `model.json` (default precision and variant paths) and one directory per precision. Context binaries are named `model.bin`; multi-file packages are kept as published by Model Farm.
32
+
33
+ Pre- and post-processing, the runner and an exported project: open the model on Agora and choose “部署指南”, or export any workflow that uses it.
34
+
35
+ ## Licence and provenance
36
+
37
+ Source model licence: see the original model's terms.
38
+ Converted, deployable resources: APLUX Model Farm License (LICENSE_MODEL_FARM.pdf). See NOTICE.md and SHA256SUMS.
SHA256SUMS ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41 targets/QCS6490/W8A16/anchors.npy
2
+ aa9846ee3c3f71fb604a4f0f3d45f32031f0cc19d8c2343decd3565e2bf9624b targets/QCS6490/W8A16/composite.json
3
+ 14348a3ca0562d7cb3e31c46eef90b02cf5bfa5a87e1020e782b466245bf7ecb targets/QCS6490/W8A16/detector.ctx.bin
4
+ 0252aa6a2c6865f78d77d8403804e1570c17d9a81d79d2b760fa81de893dcc61 targets/QCS6490/W8A16/landmark.ctx.bin
5
+ 24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41 targets/QCS6490/W8A8/anchors.npy
6
+ 53099ebb44fb1e3018be112d98cee9a07635c10c400459756a8184b2919206b2 targets/QCS6490/W8A8/composite.json
7
+ 28dab2c773e07727138edb87bf4ba8259d81b7fe424db7b69e5d67a6fbc28ac4 targets/QCS6490/W8A8/detector.ctx.bin
8
+ 6d03fe17aac4e260aaa0d810aee512c4a5e9a9c64a63dadd1ff1bf8bd0d98dc1 targets/QCS6490/W8A8/landmark.ctx.bin
9
+ 24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41 targets/QCS8550/FP16/anchors.npy
10
+ a4c8df655a75e3f7eb2275d1beb0139e9b9110c3fa4a490151bac521eead9524 targets/QCS8550/FP16/composite.json
11
+ ce9773e6e34cd5ff5a6f78602b4229c0f1faa3e938d267f29e97c8fc3cf43a16 targets/QCS8550/FP16/detector.ctx.bin
12
+ e303d20df51ba36ebe46213d6ee39b327b1dc9e52a546f2d12dd81ac4bfc3d7c targets/QCS8550/FP16/landmark.ctx.bin
13
+ 24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41 targets/QCS8550/W8A16/anchors.npy
14
+ 5fc6cb2de4503d8a9b501abfe6e5c58ad2e464a7132a20aed1877b16f2411636 targets/QCS8550/W8A16/composite.json
15
+ 4214c52c2c6da9655f0fb118cabfa28148539e2ca516f5d1ac2a433057c715b3 targets/QCS8550/W8A16/detector.ctx.bin
16
+ 322b4caa90aed55687836f1653faa7fe5c283dfbd5962ea2c1f157d58318ef0f targets/QCS8550/W8A16/landmark.ctx.bin
17
+ 24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41 targets/QCS8550/W8A8/anchors.npy
18
+ 1d3bc6a6c41e6544ad9db3df4b7427c2f730175aa19fa9fbe1fd87d62b8c902a targets/QCS8550/W8A8/composite.json
19
+ 140a1ed0516d6decc32fe90ccce0ea24441d2b9fb0285e64f6d90920013efd7d targets/QCS8550/W8A8/detector.ctx.bin
20
+ bafe716a161192ba2dc9bfcee685acc4426df84516320f8bde727bed444a9e8f targets/QCS8550/W8A8/landmark.ctx.bin
targets/QCS6490/W8A16/anchors.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41
3
+ size 94336
targets/QCS6490/W8A16/composite.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assets": {
3
+ "anchors": "anchors.npy"
4
+ },
5
+ "components": {
6
+ "detector": "detector.ctx.bin",
7
+ "landmark": "landmark.ctx.bin"
8
+ },
9
+ "kind": "mediapipe_hand",
10
+ "source": {
11
+ "files": [
12
+ {
13
+ "path": "models/QCS6490/W8A16/m_handDetector_w8a16.qnn216.ctx.bin",
14
+ "sha256": "14348a3ca0562d7cb3e31c46eef90b02cf5bfa5a87e1020e782b466245bf7ecb",
15
+ "size": 3601960
16
+ },
17
+ {
18
+ "path": "models/QCS6490/W8A16/m_handLandmark_w8a16.qnn216.ctx.bin",
19
+ "sha256": "0252aa6a2c6865f78d77d8403804e1570c17d9a81d79d2b760fa81de893dcc61",
20
+ "size": 7039624
21
+ },
22
+ {
23
+ "path": "code/python/anchors_palm.npy",
24
+ "sha256": "24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41",
25
+ "size": 94336
26
+ }
27
+ ],
28
+ "projectId": 1285,
29
+ "ref": "645a21984050f3c707b8d78e889ae6908009289f"
30
+ },
31
+ "version": 1
32
+ }
targets/QCS6490/W8A16/detector.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14348a3ca0562d7cb3e31c46eef90b02cf5bfa5a87e1020e782b466245bf7ecb
3
+ size 3601960
targets/QCS6490/W8A16/landmark.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0252aa6a2c6865f78d77d8403804e1570c17d9a81d79d2b760fa81de893dcc61
3
+ size 7039624
targets/QCS6490/W8A8/anchors.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41
3
+ size 94336
targets/QCS6490/W8A8/composite.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assets": {
3
+ "anchors": "anchors.npy"
4
+ },
5
+ "components": {
6
+ "detector": "detector.ctx.bin",
7
+ "landmark": "landmark.ctx.bin"
8
+ },
9
+ "kind": "mediapipe_hand",
10
+ "source": {
11
+ "files": [
12
+ {
13
+ "path": "models/QCS6490/W8A8/m_handDetctor_w8a8.qnn216.ctx.bin",
14
+ "sha256": "28dab2c773e07727138edb87bf4ba8259d81b7fe424db7b69e5d67a6fbc28ac4",
15
+ "size": 3589672
16
+ },
17
+ {
18
+ "path": "models/QCS6490/W8A8/m_handLandmark_w8a8.qnn216.ctx.bin",
19
+ "sha256": "6d03fe17aac4e260aaa0d810aee512c4a5e9a9c64a63dadd1ff1bf8bd0d98dc1",
20
+ "size": 7031432
21
+ },
22
+ {
23
+ "path": "code/python/anchors_palm.npy",
24
+ "sha256": "24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41",
25
+ "size": 94336
26
+ }
27
+ ],
28
+ "projectId": 1285,
29
+ "ref": "645a21984050f3c707b8d78e889ae6908009289f"
30
+ },
31
+ "version": 1
32
+ }
targets/QCS6490/W8A8/detector.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28dab2c773e07727138edb87bf4ba8259d81b7fe424db7b69e5d67a6fbc28ac4
3
+ size 3589672
targets/QCS6490/W8A8/landmark.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d03fe17aac4e260aaa0d810aee512c4a5e9a9c64a63dadd1ff1bf8bd0d98dc1
3
+ size 7031432
targets/QCS6490/model.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "soc": "QCS6490",
3
+ "default_precision": "W8A16",
4
+ "variants": {
5
+ "W8A16": "W8A16/",
6
+ "W8A8": "W8A8/"
7
+ }
8
+ }
targets/QCS8550/FP16/anchors.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41
3
+ size 94336
targets/QCS8550/FP16/composite.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assets": {
3
+ "anchors": "anchors.npy"
4
+ },
5
+ "components": {
6
+ "detector": "detector.ctx.bin",
7
+ "landmark": "landmark.ctx.bin"
8
+ },
9
+ "kind": "mediapipe_hand",
10
+ "source": {
11
+ "files": [
12
+ {
13
+ "path": "models/QCS8550/FP16/m_handDetctor_fp16.qnn216.ctx.bin",
14
+ "sha256": "ce9773e6e34cd5ff5a6f78602b4229c0f1faa3e938d267f29e97c8fc3cf43a16",
15
+ "size": 4243224
16
+ },
17
+ {
18
+ "path": "models/QCS8550/FP16/m_handLandmark_fp16.qnn216.ctx.bin",
19
+ "sha256": "e303d20df51ba36ebe46213d6ee39b327b1dc9e52a546f2d12dd81ac4bfc3d7c",
20
+ "size": 6796200
21
+ },
22
+ {
23
+ "path": "code/python/anchors_palm.npy",
24
+ "sha256": "24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41",
25
+ "size": 94336
26
+ }
27
+ ],
28
+ "projectId": 1285,
29
+ "ref": "645a21984050f3c707b8d78e889ae6908009289f"
30
+ },
31
+ "version": 1
32
+ }
targets/QCS8550/FP16/detector.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce9773e6e34cd5ff5a6f78602b4229c0f1faa3e938d267f29e97c8fc3cf43a16
3
+ size 4243224
targets/QCS8550/FP16/landmark.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e303d20df51ba36ebe46213d6ee39b327b1dc9e52a546f2d12dd81ac4bfc3d7c
3
+ size 6796200
targets/QCS8550/W8A16/anchors.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41
3
+ size 94336
targets/QCS8550/W8A16/composite.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assets": {
3
+ "anchors": "anchors.npy"
4
+ },
5
+ "components": {
6
+ "detector": "detector.ctx.bin",
7
+ "landmark": "landmark.ctx.bin"
8
+ },
9
+ "kind": "mediapipe_hand",
10
+ "source": {
11
+ "files": [
12
+ {
13
+ "path": "models/QCS8550/W8A16/m_handDetctor_w8a16.qnn216.ctx.bin",
14
+ "sha256": "4214c52c2c6da9655f0fb118cabfa28148539e2ca516f5d1ac2a433057c715b3",
15
+ "size": 2287144
16
+ },
17
+ {
18
+ "path": "models/QCS8550/W8A16/m_handLandmark_w8a16.qnn216.ctx.bin",
19
+ "sha256": "322b4caa90aed55687836f1653faa7fe5c283dfbd5962ea2c1f157d58318ef0f",
20
+ "size": 2943624
21
+ },
22
+ {
23
+ "path": "code/python/anchors_palm.npy",
24
+ "sha256": "24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41",
25
+ "size": 94336
26
+ }
27
+ ],
28
+ "projectId": 1285,
29
+ "ref": "645a21984050f3c707b8d78e889ae6908009289f"
30
+ },
31
+ "version": 1
32
+ }
targets/QCS8550/W8A16/detector.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4214c52c2c6da9655f0fb118cabfa28148539e2ca516f5d1ac2a433057c715b3
3
+ size 2287144
targets/QCS8550/W8A16/landmark.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322b4caa90aed55687836f1653faa7fe5c283dfbd5962ea2c1f157d58318ef0f
3
+ size 2943624
targets/QCS8550/W8A8/anchors.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41
3
+ size 94336
targets/QCS8550/W8A8/composite.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assets": {
3
+ "anchors": "anchors.npy"
4
+ },
5
+ "components": {
6
+ "detector": "detector.ctx.bin",
7
+ "landmark": "landmark.ctx.bin"
8
+ },
9
+ "kind": "mediapipe_hand",
10
+ "source": {
11
+ "files": [
12
+ {
13
+ "path": "models/QCS8550/W8A8/m_handDetctor_w8a8.qnn216.ctx.bin",
14
+ "sha256": "140a1ed0516d6decc32fe90ccce0ea24441d2b9fb0285e64f6d90920013efd7d",
15
+ "size": 2176552
16
+ },
17
+ {
18
+ "path": "models/QCS8550/W8A8/m_handLandmark_w8a8.qnn216.ctx.bin",
19
+ "sha256": "bafe716a161192ba2dc9bfcee685acc4426df84516320f8bde727bed444a9e8f",
20
+ "size": 2833032
21
+ },
22
+ {
23
+ "path": "code/python/anchors_palm.npy",
24
+ "sha256": "24fa4a27ad6bee24ba3185a42fe3a47115540b0b27fa5956a291f03756183b41",
25
+ "size": 94336
26
+ }
27
+ ],
28
+ "projectId": 1285,
29
+ "ref": "645a21984050f3c707b8d78e889ae6908009289f"
30
+ },
31
+ "version": 1
32
+ }
targets/QCS8550/W8A8/detector.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:140a1ed0516d6decc32fe90ccce0ea24441d2b9fb0285e64f6d90920013efd7d
3
+ size 2176552
targets/QCS8550/W8A8/landmark.ctx.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bafe716a161192ba2dc9bfcee685acc4426df84516320f8bde727bed444a9e8f
3
+ size 2833032
targets/QCS8550/model.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "soc": "QCS8550",
3
+ "default_precision": "FP16",
4
+ "variants": {
5
+ "FP16": "FP16/",
6
+ "W8A16": "W8A16/",
7
+ "W8A8": "W8A8/"
8
+ }
9
+ }