ResNet-18 (ONNX Model Zoo v1.7) β Renesas X5H
β³ Model file not yet uploaded. Benchmark results on this page were published ahead of the model weights β see Provided Artifacts below. Download/deployment steps will not work until the file is added to this repository.
Introduction
This repository hosts ResNet-18 as exported by the ONNX Model Zoo v1.7 release, targeting the Renesas R-Car X5H platform for image classification inference on the NPX6 NPU.
Note: This repo is distinct from
ResNet50-ONNX, which hosts ResNet50 from the ONNX Model Zoo v1.12 export. The two repositories cover different ONNX Model Zoo export versions (v1.7 vs. v1.12) and different network depths. Do not conflate benchmark numbers between the two. The other ResNet-v1.7 depths (34/101/152) each have their own sibling repo:ResNet34-ONNX,ResNet101-ONNX,ResNet152-ONNX.
- Model Architecture: ResNet-18 β residual convolutional network for 1000-class image classification
- Source Model: onnxmodelzoo/resnet18-v1-7 β ONNX Model Zoo
resnet18-v1-7 - Task: Image Classification (ImageNet ILSVRC2012, 1000 classes)
- Parameters: 11.7M
Deployment Flow
The FP32 ONNX model is auto-cast to INT8 by the Renesas MWMX toolchain at compile time β no separate quantization step is required.
resnet18_v1_7_..._optimized.onnx (FP32)
β
βββΆ MWMX Runtime βββΆ INT8 auto-cast βββΆ NPX6 NPU
Provided Artifacts
| Artifact | Status | Notes |
|---|---|---|
| FP32 (ONNX) | β³ Not yet uploaded | Benchmark numbers below exist; the model file has not been published to this repo yet |
Performance
Measured on Renesas R-Car X5H via the MWMX runtime (APM50 ship-performance CI pipeline).
Benchmark configuration: Single NPU Β· Batch size: 1 Β· Input resolution: not available from source data (TBD)
| Runtime | Precision | Device | Latency (ms) | Type |
|---|---|---|---|---|
| MWMX Runtime | INT8 (auto) | X5H Β· 1Γ NPU Β· 1 Core Β· 850 MHz | 1.561618 | Measured |
| MWMX Runtime | INT8 (auto) | X5H Β· 1Γ NPU Β· 12 Cores Β· 850 MHz | 1.295733 | Measured |
Accuracy
TBD β not yet measured/published for this repo.
Runtime Details
MWMX Runtime
- Engine: Renesas MWMX (Middleware MX) native inference runtime
- Input format: FP32 ONNX (compiled by the MWMX toolchain)
- NPU execution precision: INT8 (auto-cast by MWMX toolchain)
- Execution target: NPX6-48K NPU on R-Car X5H
Prerequisites
To run inference on Renesas R-Car X5H, you need:
- Renesas R-Car X5H board with NPX6 NPU
- Renesas MWMX Runtime
- Hugging Face CLI to download the model (once the model file is published)
Download
TBD β model file not yet published to this repository.
Benchmark Methodology
- HIL runs: Hardware-in-the-loop β measured on physical R-Car X5H silicon via the MWMX
runtime (
metawaremx_runtimeCI pipeline, "APM50" ship-performance target) - Precision: FP32 ONNX input; INT8 execution (auto-cast by MWMX)
- Slices: results reported for both 1 AI core and 12 AI cores per NPU instance
Model tree for Renesas/ResNet18-ONNX
Base model
onnxmodelzoo/resnet18-v1-7