HanzoHuang commited on
Commit
d1fd0e9
·
verified ·
1 Parent(s): 7d9d032

Publish versioned RKNN model variants and conversion sources

Browse files
Files changed (30) hide show
  1. .gitattributes +8 -0
  2. LICENSES.md +8 -0
  3. README.md +8 -2
  4. manifest.json +128 -0
  5. models/v2.5.0/detect/yolox_m/rk3576/fp16/conversion.json +16 -0
  6. models/v2.5.0/detect/yolox_m/rk3576/fp16/metadata.yaml +90 -0
  7. models/v2.5.0/detect/yolox_m/rk3576/fp16/model.rknn +3 -0
  8. models/v2.5.0/detect/yolox_m/rk3576/int8/conversion.json +16 -0
  9. models/v2.5.0/detect/yolox_m/rk3576/int8/metadata.yaml +90 -0
  10. models/v2.5.0/detect/yolox_m/rk3576/int8/model.rknn +3 -0
  11. models/v2.5.0/detect/yolox_m/rk3588/fp16/conversion.json +16 -0
  12. models/v2.5.0/detect/yolox_m/rk3588/fp16/metadata.yaml +90 -0
  13. models/v2.5.0/detect/yolox_m/rk3588/fp16/model.rknn +3 -0
  14. models/v2.5.0/detect/yolox_m/rk3588/int8/conversion.json +16 -0
  15. models/v2.5.0/detect/yolox_m/rk3588/int8/metadata.yaml +90 -0
  16. models/v2.5.0/detect/yolox_m/rk3588/int8/model.rknn +3 -0
  17. models/v2.5.0/detect/yolox_s/rk3576/fp16/conversion.json +16 -0
  18. models/v2.5.0/detect/yolox_s/rk3576/fp16/metadata.yaml +90 -0
  19. models/v2.5.0/detect/yolox_s/rk3576/fp16/model.rknn +3 -0
  20. models/v2.5.0/detect/yolox_s/rk3576/int8/conversion.json +16 -0
  21. models/v2.5.0/detect/yolox_s/rk3576/int8/metadata.yaml +90 -0
  22. models/v2.5.0/detect/yolox_s/rk3576/int8/model.rknn +3 -0
  23. models/v2.5.0/detect/yolox_s/rk3588/fp16/conversion.json +16 -0
  24. models/v2.5.0/detect/yolox_s/rk3588/fp16/metadata.yaml +90 -0
  25. models/v2.5.0/detect/yolox_s/rk3588/fp16/model.rknn +3 -0
  26. models/v2.5.0/detect/yolox_s/rk3588/int8/conversion.json +16 -0
  27. models/v2.5.0/detect/yolox_s/rk3588/int8/metadata.yaml +90 -0
  28. models/v2.5.0/detect/yolox_s/rk3588/int8/model.rknn +3 -0
  29. source/model-zoo/LICENSE +201 -0
  30. source/model-zoo/yolox/convert.py +75 -0
.gitattributes CHANGED
@@ -41,3 +41,11 @@ models/v2.5.0/detect/yolox_nano/rk3576/fp16/model.rknn filter=lfs diff=lfs merge
41
  models/v2.5.0/detect/yolox_nano/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
42
  models/v2.5.0/detect/yolox_nano/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
43
  models/v2.5.0/detect/yolox_nano/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
41
  models/v2.5.0/detect/yolox_nano/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
42
  models/v2.5.0/detect/yolox_nano/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
43
  models/v2.5.0/detect/yolox_nano/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
44
+ models/v2.5.0/detect/yolox_m/rk3576/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
45
+ models/v2.5.0/detect/yolox_m/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
46
+ models/v2.5.0/detect/yolox_m/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
47
+ models/v2.5.0/detect/yolox_m/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
48
+ models/v2.5.0/detect/yolox_s/rk3576/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
49
+ models/v2.5.0/detect/yolox_s/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
50
+ models/v2.5.0/detect/yolox_s/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
51
+ models/v2.5.0/detect/yolox_s/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
LICENSES.md ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # Sources and license notices
2
+
3
+ The Apache-2.0 notice under `source/model-zoo/` applies to the Rockchip conversion scripts. Model weights retain their upstream terms. The manifest records each source artifact and input hash. Rockchip's downloadable graphs do not declare an independent license in the ONNX metadata.
4
+
5
+ The original Nano checkpoint and its build retain the original Apache-2.0 notice.
6
+
7
+ - [Upstream source 1](https://github.com/airockchip/YOLOX)
8
+ - [Upstream source 2](https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox)
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
- license: apache-2.0
 
 
3
  pipeline_tag: object-detection
4
  tags:
5
  - rknn
@@ -10,7 +12,7 @@ tags:
10
  - yolox
11
  ---
12
 
13
- # YOLOX-Nano-RKNN2
14
 
15
  Rockchip Model Zoo conversion of YOLOX Nano for RK3576 and RK3588. YOLOX Nano FP16 and INT8 models for RK3576 and RK3588. Download `model.rknn` and `metadata.yaml` from the same directory under `models/v2.5.0/detect/yolox_nano/<chip>/<precision>/`. The [manifest](manifest.json) records each model hash.
16
 
@@ -19,3 +21,7 @@ The [original YOLOX Nano checkpoint](https://github.com/Megvii-BaseDetection/YOL
19
  YOLOX is from [Megvii-BaseDetection](https://github.com/Megvii-BaseDetection/YOLOX). The [Apache-2.0 license](LICENSE) applies to this distribution.
20
 
21
  Models are organized by RKNN Toolkit2 version under `models/v<version>/`. Each model and its metadata share a folder.
 
 
 
 
 
1
  ---
2
+ license: other
3
+ license_name: upstream-terms-by-artifact
4
+ license_link: https://huggingface.co/HanzoHuang/YOLOX-RKNN2/blob/main/LICENSES.md
5
  pipeline_tag: object-detection
6
  tags:
7
  - rknn
 
12
  - yolox
13
  ---
14
 
15
+ # YOLOX-RKNN2
16
 
17
  Rockchip Model Zoo conversion of YOLOX Nano for RK3576 and RK3588. YOLOX Nano FP16 and INT8 models for RK3576 and RK3588. Download `model.rknn` and `metadata.yaml` from the same directory under `models/v2.5.0/detect/yolox_nano/<chip>/<precision>/`. The [manifest](manifest.json) records each model hash.
18
 
 
21
  YOLOX is from [Megvii-BaseDetection](https://github.com/Megvii-BaseDetection/YOLOX). The [Apache-2.0 license](LICENSE) applies to this distribution.
22
 
23
  Models are organized by RKNN Toolkit2 version under `models/v<version>/`. Each model and its metadata share a folder.
24
+
25
+ ## Model Zoo downloads
26
+
27
+ The `models/v2.5.0/` downloads use RKNN Toolkit2 2.5.0. The conversion receipts identify the original ONNX and converter. See [source and license notices](LICENSES.md).
manifest.json CHANGED
@@ -34,5 +34,133 @@
34
  "sha256": "4c5cc4cd4d45b60a63d5d65d6731c3465955d11d16d2dbc03427ff63b73d4036",
35
  "toolkit_version": "2.5.0",
36
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
  ]
 
34
  "sha256": "4c5cc4cd4d45b60a63d5d65d6731c3465955d11d16d2dbc03427ff63b73d4036",
35
  "toolkit_version": "2.5.0",
36
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
37
+ },
38
+ {
39
+ "name": "yolox_m",
40
+ "family": "yolox",
41
+ "task": "detect",
42
+ "chip": "rk3576",
43
+ "precision": "fp16",
44
+ "path": "models/v2.5.0/detect/yolox_m/rk3576/fp16",
45
+ "sha256": "1bdc25e03418d6b3cdac271d15fbf4509549e410f691e0f97bb165604e465b4a",
46
+ "toolkit_version": "2.5.0",
47
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
48
+ "upstream_project": "https://github.com/airockchip/YOLOX",
49
+ "conversion": "model-zoo-official",
50
+ "metadata_sha256": "9b465372399178d838e64b400cfbaddccd2f27bbd42946ca56654e169cbeeae4",
51
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
52
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
53
+ },
54
+ {
55
+ "name": "yolox_m",
56
+ "family": "yolox",
57
+ "task": "detect",
58
+ "chip": "rk3576",
59
+ "precision": "int8",
60
+ "path": "models/v2.5.0/detect/yolox_m/rk3576/int8",
61
+ "sha256": "81854758e40eae78f86862bfad397d289670b8e7a968430f5bc00a95dab90ce0",
62
+ "toolkit_version": "2.5.0",
63
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
64
+ "upstream_project": "https://github.com/airockchip/YOLOX",
65
+ "conversion": "model-zoo-official",
66
+ "metadata_sha256": "9b465372399178d838e64b400cfbaddccd2f27bbd42946ca56654e169cbeeae4",
67
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
68
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
69
+ },
70
+ {
71
+ "name": "yolox_s",
72
+ "family": "yolox",
73
+ "task": "detect",
74
+ "chip": "rk3576",
75
+ "precision": "fp16",
76
+ "path": "models/v2.5.0/detect/yolox_s/rk3576/fp16",
77
+ "sha256": "96f58edca88b3b0dbc9fe1b75602dada082a3df4181d9aa5eb1a365dd9d52b49",
78
+ "toolkit_version": "2.5.0",
79
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
80
+ "upstream_project": "https://github.com/airockchip/YOLOX",
81
+ "conversion": "model-zoo-official",
82
+ "metadata_sha256": "9b465372399178d838e64b400cfbaddccd2f27bbd42946ca56654e169cbeeae4",
83
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
84
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
85
+ },
86
+ {
87
+ "name": "yolox_s",
88
+ "family": "yolox",
89
+ "task": "detect",
90
+ "chip": "rk3576",
91
+ "precision": "int8",
92
+ "path": "models/v2.5.0/detect/yolox_s/rk3576/int8",
93
+ "sha256": "0cfefb449e30507a54eb525735f0965649e96444dc50f4db5fd2db6f16f590ec",
94
+ "toolkit_version": "2.5.0",
95
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
96
+ "upstream_project": "https://github.com/airockchip/YOLOX",
97
+ "conversion": "model-zoo-official",
98
+ "metadata_sha256": "9b465372399178d838e64b400cfbaddccd2f27bbd42946ca56654e169cbeeae4",
99
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
100
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
101
+ },
102
+ {
103
+ "name": "yolox_m",
104
+ "family": "yolox",
105
+ "task": "detect",
106
+ "chip": "rk3588",
107
+ "precision": "fp16",
108
+ "path": "models/v2.5.0/detect/yolox_m/rk3588/fp16",
109
+ "sha256": "9f01e9b5cee05ae8f984f33025de874e9aa8d6c36b0e2c308c027db09ac2bb41",
110
+ "toolkit_version": "2.5.0",
111
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
112
+ "upstream_project": "https://github.com/airockchip/YOLOX",
113
+ "conversion": "model-zoo-official",
114
+ "metadata_sha256": "be12ad50cc4a97d33f48335add291ebc22cfdce23f2538e979268301c573e2b9",
115
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
116
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
117
+ },
118
+ {
119
+ "name": "yolox_m",
120
+ "family": "yolox",
121
+ "task": "detect",
122
+ "chip": "rk3588",
123
+ "precision": "int8",
124
+ "path": "models/v2.5.0/detect/yolox_m/rk3588/int8",
125
+ "sha256": "ad89739915149634f06a32cd2500f26ff23b123604ab2d2ed3ae95cff844a21f",
126
+ "toolkit_version": "2.5.0",
127
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
128
+ "upstream_project": "https://github.com/airockchip/YOLOX",
129
+ "conversion": "model-zoo-official",
130
+ "metadata_sha256": "be12ad50cc4a97d33f48335add291ebc22cfdce23f2538e979268301c573e2b9",
131
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
132
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
133
+ },
134
+ {
135
+ "name": "yolox_s",
136
+ "family": "yolox",
137
+ "task": "detect",
138
+ "chip": "rk3588",
139
+ "precision": "fp16",
140
+ "path": "models/v2.5.0/detect/yolox_s/rk3588/fp16",
141
+ "sha256": "63b970b31e631f022d44a9f226b74acca995d3ed0d70a7ed835590368be216c1",
142
+ "toolkit_version": "2.5.0",
143
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
144
+ "upstream_project": "https://github.com/airockchip/YOLOX",
145
+ "conversion": "model-zoo-official",
146
+ "metadata_sha256": "be12ad50cc4a97d33f48335add291ebc22cfdce23f2538e979268301c573e2b9",
147
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
148
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
149
+ },
150
+ {
151
+ "name": "yolox_s",
152
+ "family": "yolox",
153
+ "task": "detect",
154
+ "chip": "rk3588",
155
+ "precision": "int8",
156
+ "path": "models/v2.5.0/detect/yolox_s/rk3588/int8",
157
+ "sha256": "fdfa22fa53c812d9358d5d9de0bdc1b6ab46f9cab83fdf743995fd80d9cf967a",
158
+ "toolkit_version": "2.5.0",
159
+ "source_url": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
160
+ "upstream_project": "https://github.com/airockchip/YOLOX",
161
+ "conversion": "model-zoo-official",
162
+ "metadata_sha256": "be12ad50cc4a97d33f48335add291ebc22cfdce23f2538e979268301c573e2b9",
163
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
164
+ "model_zoo_example": "https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox"
165
  }
166
  ]
models/v2.5.0/detect/yolox_m/rk3576/fp16/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
3
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
4
+ "rknn_sha256": "1bdc25e03418d6b3cdac271d15fbf4509549e410f691e0f97bb165604e465b4a",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_m.onnx",
9
+ "rk3576",
10
+ "fp",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3576/yolox/yolox_m/fp/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_m/rk3576/fp16/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3576
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_m/rk3576/fp16/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bdc25e03418d6b3cdac271d15fbf4509549e410f691e0f97bb165604e465b4a
3
+ size 57076998
models/v2.5.0/detect/yolox_m/rk3576/int8/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
3
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
4
+ "rknn_sha256": "81854758e40eae78f86862bfad397d289670b8e7a968430f5bc00a95dab90ce0",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_m.onnx",
9
+ "rk3576",
10
+ "i8",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3576/yolox/yolox_m/i8/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_m/rk3576/int8/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3576
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_m/rk3576/int8/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81854758e40eae78f86862bfad397d289670b8e7a968430f5bc00a95dab90ce0
3
+ size 31236282
models/v2.5.0/detect/yolox_m/rk3588/fp16/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
3
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
4
+ "rknn_sha256": "9f01e9b5cee05ae8f984f33025de874e9aa8d6c36b0e2c308c027db09ac2bb41",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_m.onnx",
9
+ "rk3588",
10
+ "fp",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3588/yolox/yolox_m/fp/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_m/rk3588/fp16/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3588
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_m/rk3588/fp16/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f01e9b5cee05ae8f984f33025de874e9aa8d6c36b0e2c308c027db09ac2bb41
3
+ size 54141638
models/v2.5.0/detect/yolox_m/rk3588/int8/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_m.onnx",
3
+ "onnx_sha256": "47a76546f3a499b2dbf55cdf2c5ea49bf2b7fa8c943de40edf1ee39b20e45f29",
4
+ "rknn_sha256": "ad89739915149634f06a32cd2500f26ff23b123604ab2d2ed3ae95cff844a21f",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_m.onnx",
9
+ "rk3588",
10
+ "i8",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3588/yolox/yolox_m/i8/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_m/rk3588/int8/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3588
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_m/rk3588/int8/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad89739915149634f06a32cd2500f26ff23b123604ab2d2ed3ae95cff844a21f
3
+ size 27945978
models/v2.5.0/detect/yolox_s/rk3576/fp16/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
3
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
4
+ "rknn_sha256": "96f58edca88b3b0dbc9fe1b75602dada082a3df4181d9aa5eb1a365dd9d52b49",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_s.onnx",
9
+ "rk3576",
10
+ "fp",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3576/yolox/yolox_s/fp/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_s/rk3576/fp16/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3576
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_s/rk3576/fp16/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96f58edca88b3b0dbc9fe1b75602dada082a3df4181d9aa5eb1a365dd9d52b49
3
+ size 22681093
models/v2.5.0/detect/yolox_s/rk3576/int8/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
3
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
4
+ "rknn_sha256": "0cfefb449e30507a54eb525735f0965649e96444dc50f4db5fd2db6f16f590ec",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_s.onnx",
9
+ "rk3576",
10
+ "i8",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3576/yolox/yolox_s/i8/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_s/rk3576/int8/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3576
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_s/rk3576/int8/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cfefb449e30507a54eb525735f0965649e96444dc50f4db5fd2db6f16f590ec
3
+ size 13411321
models/v2.5.0/detect/yolox_s/rk3588/fp16/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
3
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
4
+ "rknn_sha256": "63b970b31e631f022d44a9f226b74acca995d3ed0d70a7ed835590368be216c1",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_s.onnx",
9
+ "rk3588",
10
+ "fp",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3588/yolox/yolox_s/fp/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_s/rk3588/fp16/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3588
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_s/rk3588/fp16/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63b970b31e631f022d44a9f226b74acca995d3ed0d70a7ed835590368be216c1
3
+ size 20170373
models/v2.5.0/detect/yolox_s/rk3588/int8/conversion.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "https://ftrg.zbox.filez.com/v2/delivery/data/95f00b0fc900458ba134f8b180b3f7a1/examples/yolox/yolox_s.onnx",
3
+ "onnx_sha256": "a39c8476d10c242298d6a8654cb29937a9cc3c062358f4d96367689df23d1796",
4
+ "rknn_sha256": "fdfa22fa53c812d9358d5d9de0bdc1b6ab46f9cab83fdf743995fd80d9cf967a",
5
+ "commands": [
6
+ [
7
+ "convert.py",
8
+ "/home/ae/hanzos_workspace/yolo-rknn/onnx/yolox/yolox_s.onnx",
9
+ "rk3588",
10
+ "i8",
11
+ "/home/ae/hanzos_workspace/yolo-rknn/rknn/rk3588/yolox/yolox_s/i8/model.partial.rknn"
12
+ ]
13
+ ],
14
+ "toolkit_python": "/home/ae/miniforge3/envs/rknn/bin/python",
15
+ "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
16
+ }
models/v2.5.0/detect/yolox_s/rk3588/int8/metadata.yaml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: detect
2
+ batch: 1
3
+ channels: 3
4
+ imgsz:
5
+ - 640
6
+ - 640
7
+ names:
8
+ - person
9
+ - bicycle
10
+ - car
11
+ - motorcycle
12
+ - airplane
13
+ - bus
14
+ - train
15
+ - truck
16
+ - boat
17
+ - traffic light
18
+ - fire hydrant
19
+ - stop sign
20
+ - parking meter
21
+ - bench
22
+ - bird
23
+ - cat
24
+ - dog
25
+ - horse
26
+ - sheep
27
+ - cow
28
+ - elephant
29
+ - bear
30
+ - zebra
31
+ - giraffe
32
+ - backpack
33
+ - umbrella
34
+ - handbag
35
+ - tie
36
+ - suitcase
37
+ - frisbee
38
+ - skis
39
+ - snowboard
40
+ - sports ball
41
+ - kite
42
+ - baseball bat
43
+ - baseball glove
44
+ - skateboard
45
+ - surfboard
46
+ - tennis racket
47
+ - bottle
48
+ - wine glass
49
+ - cup
50
+ - fork
51
+ - knife
52
+ - spoon
53
+ - bowl
54
+ - banana
55
+ - apple
56
+ - sandwich
57
+ - orange
58
+ - broccoli
59
+ - carrot
60
+ - hot dog
61
+ - pizza
62
+ - donut
63
+ - cake
64
+ - chair
65
+ - couch
66
+ - potted plant
67
+ - bed
68
+ - dining table
69
+ - toilet
70
+ - tv
71
+ - laptop
72
+ - mouse
73
+ - remote
74
+ - keyboard
75
+ - cell phone
76
+ - microwave
77
+ - oven
78
+ - toaster
79
+ - sink
80
+ - refrigerator
81
+ - book
82
+ - clock
83
+ - vase
84
+ - scissors
85
+ - teddy bear
86
+ - hair drier
87
+ - toothbrush
88
+ target_platform: rk3588
89
+ coordinates: pixels
90
+ head: yolox
models/v2.5.0/detect/yolox_s/rk3588/int8/model.rknn ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdfa22fa53c812d9358d5d9de0bdc1b6ab46f9cab83fdf743995fd80d9cf967a
3
+ size 10565689
source/model-zoo/LICENSE ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
source/model-zoo/yolox/convert.py ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ from rknn.api import RKNN
3
+
4
+ DATASET_PATH = '../../../datasets/COCO/coco_subset_20.txt'
5
+ DEFAULT_RKNN_PATH = '../model/yolox.rknn'
6
+ DEFAULT_QUANT = True
7
+
8
+ def parse_arg():
9
+ if len(sys.argv) < 3:
10
+ print("Usage: python3 {} onnx_model_path [platform] [dtype(optional)] [output_rknn_path(optional)]".format(sys.argv[0]));
11
+ print(" platform choose from [rk3562, rk3566, rk3568, rk3576, rk3588, rv1103, rv1106, rv1126b, rv1109, rv1126, rk1808]")
12
+ print(" dtype choose from [i8, fp] for [rk3562, rk3566, rk3568, rk3576, rk3588, rv1126b]")
13
+ print(" dtype choose from [u8, fp] for [rv1109, rv1126, rk1808]")
14
+ print(" dtype choose from [i8] for [rv1103, rv1106]")
15
+ exit(1)
16
+
17
+ model_path = sys.argv[1]
18
+ platform = sys.argv[2]
19
+
20
+ do_quant = DEFAULT_QUANT
21
+ if len(sys.argv) > 3:
22
+ model_type = sys.argv[3]
23
+ if model_type not in ['i8', 'u8', 'fp']:
24
+ print("ERROR: Invalid model type: {}".format(model_type))
25
+ exit(1)
26
+ elif model_type in ['i8', 'u8']:
27
+ do_quant = True
28
+ else:
29
+ do_quant = False
30
+
31
+ if len(sys.argv) > 4:
32
+ output_path = sys.argv[4]
33
+ else:
34
+ output_path = DEFAULT_RKNN_PATH
35
+
36
+ return model_path, platform, do_quant, output_path
37
+
38
+ if __name__ == '__main__':
39
+ model_path, platform, do_quant, output_path = parse_arg()
40
+
41
+ # Create RKNN object
42
+ rknn = RKNN(verbose=False)
43
+
44
+ # Pre-process config
45
+ print('--> Config model')
46
+ rknn.config(mean_values=[[0, 0, 0]], std_values=[
47
+ [1, 1, 1]], target_platform=platform)
48
+ print('done')
49
+
50
+ # Load model
51
+ print('--> Loading model')
52
+ ret = rknn.load_onnx(model=model_path)
53
+ if ret != 0:
54
+ print('Load model failed!')
55
+ exit(ret)
56
+ print('done')
57
+
58
+ # Build model
59
+ print('--> Building model')
60
+ ret = rknn.build(do_quantization=do_quant, dataset=DATASET_PATH)
61
+ if ret != 0:
62
+ print('Build model failed!')
63
+ exit(ret)
64
+ print('done')
65
+
66
+ # Export rknn model
67
+ print('--> Export rknn model')
68
+ ret = rknn.export_rknn(output_path)
69
+ if ret != 0:
70
+ print('Export rknn model failed!')
71
+ exit(ret)
72
+ print('done')
73
+
74
+ # Release
75
+ rknn.release()