HanzoHuang commited on
Commit
7d9d032
Β·
verified Β·
1 Parent(s): 7309bda

Organize RKNN models by Toolkit2 version

Browse files
.gitattributes CHANGED
@@ -37,3 +37,7 @@ models/detect/yolox_nano/rk3576/fp16/model.rknn filter=lfs diff=lfs merge=lfs -t
37
  models/detect/yolox_nano/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
38
  models/detect/yolox_nano/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
39
  models/detect/yolox_nano/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
37
  models/detect/yolox_nano/rk3576/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
38
  models/detect/yolox_nano/rk3588/fp16/model.rknn filter=lfs diff=lfs merge=lfs -text
39
  models/detect/yolox_nano/rk3588/int8/model.rknn filter=lfs diff=lfs merge=lfs -text
40
+ models/v2.5.0/detect/yolox_nano/rk3576/fp16/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
README.md CHANGED
@@ -12,8 +12,10 @@ tags:
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/detect/yolox_nano/<chip>/<precision>/`. The [manifest](manifest.json) records each model hash.
16
 
17
  The [original YOLOX Nano checkpoint](https://github.com/Megvii-BaseDetection/YOLOX/releases/download/0.1.1rc0/yolox_nano.pth) is included under [source](tree/main/source). It was exported to ONNX with the [Rockchip YOLOX exporter](https://github.com/airockchip/YOLOX/tree/fc69c1e2ccb30fce7e18250bddc13a68090dca09) and compiled with the [Model Zoo YOLOX converter](https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox) using RKNN Toolkit2 2.5.0. The conversion changed the model format and quantized the INT8 variant.
18
 
19
  YOLOX is from [Megvii-BaseDetection](https://github.com/Megvii-BaseDetection/YOLOX). The [Apache-2.0 license](LICENSE) applies to this distribution.
 
 
 
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
 
17
  The [original YOLOX Nano checkpoint](https://github.com/Megvii-BaseDetection/YOLOX/releases/download/0.1.1rc0/yolox_nano.pth) is included under [source](tree/main/source). It was exported to ONNX with the [Rockchip YOLOX exporter](https://github.com/airockchip/YOLOX/tree/fc69c1e2ccb30fce7e18250bddc13a68090dca09) and compiled with the [Model Zoo YOLOX converter](https://github.com/airockchip/rknn_model_zoo/tree/837db8e992815ff8647eadb709f07067f4bc3a71/examples/yolox) using RKNN Toolkit2 2.5.0. The conversion changed the model format and quantized the INT8 variant.
18
 
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.
manifest.json CHANGED
@@ -1,6 +1,6 @@
1
  [
2
  {
3
- "path": "models/detect/yolox_nano/rk3576/fp16",
4
  "chip": "rk3576",
5
  "precision": "fp16",
6
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
@@ -9,7 +9,7 @@
9
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
10
  },
11
  {
12
- "path": "models/detect/yolox_nano/rk3576/int8",
13
  "chip": "rk3576",
14
  "precision": "int8",
15
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
@@ -18,7 +18,7 @@
18
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
19
  },
20
  {
21
- "path": "models/detect/yolox_nano/rk3588/fp16",
22
  "chip": "rk3588",
23
  "precision": "fp16",
24
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
@@ -27,7 +27,7 @@
27
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
28
  },
29
  {
30
- "path": "models/detect/yolox_nano/rk3588/int8",
31
  "chip": "rk3588",
32
  "precision": "int8",
33
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
 
1
  [
2
  {
3
+ "path": "models/v2.5.0/detect/yolox_nano/rk3576/fp16",
4
  "chip": "rk3576",
5
  "precision": "fp16",
6
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
 
9
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
10
  },
11
  {
12
+ "path": "models/v2.5.0/detect/yolox_nano/rk3576/int8",
13
  "chip": "rk3576",
14
  "precision": "int8",
15
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
 
18
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
19
  },
20
  {
21
+ "path": "models/v2.5.0/detect/yolox_nano/rk3588/fp16",
22
  "chip": "rk3588",
23
  "precision": "fp16",
24
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
 
27
  "zoo_commit": "837db8e992815ff8647eadb709f07067f4bc3a71"
28
  },
29
  {
30
+ "path": "models/v2.5.0/detect/yolox_nano/rk3588/int8",
31
  "chip": "rk3588",
32
  "precision": "int8",
33
  "onnx_sha256": "8f2c3337598150e82b4e4b4d3d1a20c1c4a56e9e0df0623ce95e330683aac309",
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3576/fp16/metadata.yaml RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3576/fp16/model.rknn RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3576/int8/metadata.yaml RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3576/int8/model.rknn RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3588/fp16/metadata.yaml RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3588/fp16/model.rknn RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3588/int8/metadata.yaml RENAMED
File without changes
models/{detect β†’ v2.5.0/detect}/yolox_nano/rk3588/int8/model.rknn RENAMED
File without changes