Downloads · 30 days
0
Renesas/ResNet50-ONNX
ResNet50-ONNX is a image classification model from Renesas. Use it when you need a label for an image. The card lists the license as apache-2.0.
This repository hosts ResNet50 V1 in ONNX FP32 format, targeting the Renesas R-Car X5H platform for image classification inference on the NPX6 NPU.
Downloads · 30 days
0
Access
Public
Updated Sep 24, 2026
Repo size
103 MB
Likes
0
Public
Click a slice to open those files.
.onnx103 MB · 100%
From the Hugging Face model README
This repository hosts ResNet50 V1 in ONNX FP32 format, targeting the Renesas R-Car X5H platform for image classification inference on the NPX6 NPU.
resnet50-v1-12The repository provides the model in FP32 ONNX format. Both supported runtimes automatically cast the FP32 model to INT8 at load time for optimised NPU execution — no separate quantization step is required.
resnet50_v1_12.onnx (FP32)
│
├─▶ ONNX Runtime (Custom NPU EP) ──▶ INT8 auto-cast ──▶ NPX6 NPU
│
└─▶ MWMX Runtime ──▶ INT8 auto-cast ──▶ NPX6 NPU
| Artifact | Status | Notes |
|---|---|---|
| FP32 (ONNX) | ✅ Provided | Reference baseline from ONNX Model Zoo v1.12 |
INT8 execution is handled automatically by the NPU runtime — no additional quantized model file is needed.
All HIL results were measured on Renesas R-Car X5H physical hardware.
The FP32 ONNX model is auto-cast to INT8 by the runtime before NPU execution.
PPA Estimator results are software estimates based on model characteristics and hardware configuration.
Benchmark configuration: Single NPU · Single AI Core · Input: 3 × 224 × 224 · Batch size: 1
| Runtime | Precision | Device | Latency (ms) | Throughput (fps) | Type |
|---|---|---|---|---|---|
| ORT Custom NPU EP | INT8 (auto) | X5H · 1× NPU · 1 Core · 850 MHz | 4.54 | 243.9 | Measured |
| MWMX Runtime | INT8 (auto) | X5H · 1× NPU · 1 Core · 850 MHz | 3.23 | 303.0 | Measured |
| PPA Estimator | INT8 | X5H · 1× NPU · 1 Core · 1066 MHz | 5.9 | — | Estimated |
| MWMX Runtime | INT8 (auto) | X5H · 1× NPU · 1 Core · 850 MHz | 3.36 | 297.4 | Measured (2026-09-16) |
| Runtime / Precision | Top-1 Accuracy | Top-5 Accuracy | Notes |
|---|---|---|---|
| FP32 reference | 81.3 % | 93.9 % | ORT, FP32 native execution |
| ORT Custom NPU EP (INT8) | 73.0 % | 94.0 % | INT8 auto-cast, NPU execution |
| MWMX Runtime (INT8) | — | — | Not yet measured |
.onnx)To run inference on Renesas R-Car X5H, you need:
hf download Renesas/ResNet50-ONNX --repo-type=model --include "fp32/*"
import onnxruntime as ort
import numpy as np
# Runtime auto-casts FP32 model to INT8 for NPU execution
providers = [("ReneasNPUExecutionProvider", {}), "CPUExecutionProvider"]
sess = ort.InferenceSession("fp32/resnet50_v1_12.onnx", providers=providers)
# Input: ImageNet-normalized image, shape (1, 3, 224, 224), dtype float32
input_data = np.random.randn(1, 3, 224, 224).astype(np.float32)
outputs = sess.run(None, {"data": input_data})
class_scores = outputs[0] # shape (1, 1000)
Refer to the Renesas MWMX Runtime documentation for compilation and inference scripts targeting the NPX6 NPU on R-Car X5H. The MWMX toolchain ingests the FP32 ONNX model and automatically compiles it for INT8 NPU execution.
1000 / latency_ms