Artem Plastinkin commited on
Commit
c451aec
·
1 Parent(s): 5e75674

Update metadata

Browse files
.metadata.yaml CHANGED
@@ -1,18 +1,34 @@
 
 
 
 
 
 
 
1
  model:
2
- name: retinanet
3
- display_name: RetinaNet
4
- upstream: onnx/retinanet-9
 
 
 
 
5
 
6
  architecture:
7
- family: retinanet
8
  backbone: resnet101
 
 
 
9
  modality:
10
  - vision
11
- parameters: 57.07M
 
 
 
12
 
13
  format:
14
  type: onnx
15
- version: 1.6.0
16
  opset: 9
17
 
18
  tasks:
 
1
+ # upstream was `onnx/retinanet-9`, which does not exist; the README front matter
2
+ # already had the correct `onnxmodelzoo/retinanet-9`.
3
+ # format.version was `1.6.0` (the ONNX IR version is in fact 6); replaced by opset,
4
+ # which was already correctly recorded as 9.
5
+ # Input is 480x640 and the 720/36-channel outputs imply 80 classes x 9 anchors and
6
+ # 4 box coords x 9 anchors — both read from the graph.
7
+
8
  model:
9
+ name: retinanet-r101
10
+ display_name: RetinaNet-R101
11
+ upstream: onnxmodelzoo/retinanet-9
12
+ source:
13
+ kind: onnx-model-zoo
14
+ id: retinanet-9
15
+ url: https://github.com/onnx/models
16
 
17
  architecture:
18
+ family: retinanet # lineage only — no version, no size
19
  backbone: resnet101
20
+ dataset: coco
21
+ input_resolution: 480x640
22
+ num_classes: 80
23
  modality:
24
  - vision
25
+ parameters: 57.1M
26
+ parameters_source: measured
27
+ parameters_note: >-
28
+ 57.07M counted from fp32/retinanet-9.onnx initializers
29
 
30
  format:
31
  type: onnx
 
32
  opset: 9
33
 
34
  tasks:
README.md CHANGED
@@ -14,14 +14,14 @@ tags:
14
  - detection
15
  ---
16
 
17
- # RetinaNet (ONNX) – Renesas X5H
18
 
19
  ## Introduction
20
 
21
  This repository hosts **RetinaNet** in ONNX FP32 format, targeting the **Renesas R-Car X5H** platform for object detection inference on the NPX6 NPU.
22
 
23
  - **Model Architecture:** RetinaNet with ResNet101 backbone and Feature Pyramid Network (FPN)
24
- - **Source Model:** ONNX Model Zoo RetinaNet
25
  - **Task:** Object Detection
26
  - **Dataset:** COCO
27
  - **Accuracy:** mAP = 0.376
 
14
  - detection
15
  ---
16
 
17
+ # RetinaNet-R101 (ONNX) – Renesas X5H
18
 
19
  ## Introduction
20
 
21
  This repository hosts **RetinaNet** in ONNX FP32 format, targeting the **Renesas R-Car X5H** platform for object detection inference on the NPX6 NPU.
22
 
23
  - **Model Architecture:** RetinaNet with ResNet101 backbone and Feature Pyramid Network (FPN)
24
+ - **Source Model:** [onnxmodelzoo/retinanet-9](https://huggingface.co/onnxmodelzoo/retinanet-9) — ONNX Model Zoo [`retinanet-9`](https://github.com/onnx/models)
25
  - **Task:** Object Detection
26
  - **Dataset:** COCO
27
  - **Accuracy:** mAP = 0.376
fp32/benchmarks/x5h_ort_npu.yaml CHANGED
@@ -11,6 +11,7 @@ hardware:
11
 
12
  runtime:
13
  engine: onnxruntime
 
14
  format: onnx
15
  execution_provider: npu
16
  execution_precision: fp32
 
11
 
12
  runtime:
13
  engine: onnxruntime
14
+ toolchain_version: "v2.0.0 renesas"
15
  format: onnx
16
  execution_provider: npu
17
  execution_precision: fp32
int8/benchmarks/x5h_mwmx_npu.yaml CHANGED
@@ -11,6 +11,7 @@ hardware:
11
 
12
  runtime:
13
  engine: mwmx # Renesas MWMX (Middleware MX) native inference runtime
 
14
  format: onnx # input model format (FP32 ONNX)
15
  execution_provider: npu
16
  execution_precision: int8 # FP32 model is auto-cast to INT8 by the MWMX toolchain
 
11
 
12
  runtime:
13
  engine: mwmx # Renesas MWMX (Middleware MX) native inference runtime
14
+ toolchain_version: "MWMX SDK v4.35.0"
15
  format: onnx # input model format (FP32 ONNX)
16
  execution_provider: npu
17
  execution_precision: int8 # FP32 model is auto-cast to INT8 by the MWMX toolchain
int8/benchmarks/x5h_mwmx_npu_apm80_12core.yaml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hardware:
2
+ vendor: renesas
3
+ chip: rcar-x5h
4
+ cpu: arm-cortex-a720
5
+ npu: npx6-48k
6
+ npu_count: 2
7
+ npu_cores: 12
8
+ npu_default_freq_mhz: 1066
9
+ accelerator:
10
+ - npu
11
+
12
+ runtime:
13
+ engine: mwmx # Renesas MWMX (Middleware MX) native inference runtime
14
+ toolchain_version: "MWMX SDK v4.35.0"
15
+ format: onnx # input model format (FP32 ONNX)
16
+ execution_provider: npu
17
+ execution_precision: int8 # FP32 model is auto-cast to INT8 by the MWMX toolchain
18
+
19
+ configuration:
20
+ npu_instances: 1 # single NPU
21
+ npu_cores_per_instance: 12 # 12 AI cores (APM80 ship-performance target run)
22
+ npu_freq_mhz: 850 # 850 MHz NPU clock frequency
23
+
24
+ benchmark:
25
+ type: hil # Hardware-in-the-loop — measured on physical X5H silicon
26
+ parameters:
27
+ batch_size: 1
28
+ input_resolution: [1, 3, 480, 640]
29
+
30
+ performance:
31
+ fps: null
32
+ latency: 6.810764 # APM80 pipeline run (metawaremx_runtime CI)
33
+
34
+ metrics:
35
+ accuracy: null
36
+ top5_accuracy: null
37
+
38
+ memory:
39
+ peak_mb: null
40
+
41
+ power:
42
+ avg_w: null
int8/benchmarks/x5h_ppa_npu.yaml CHANGED
@@ -11,6 +11,7 @@ hardware:
11
 
12
  runtime:
13
  engine: ppa-estimator
 
14
  format: onnx
15
  execution_provider: npu
16
  execution_precision: int8
 
11
 
12
  runtime:
13
  engine: ppa-estimator
14
+ toolchain_version: null
15
  format: onnx
16
  execution_provider: npu
17
  execution_precision: int8