EfficientNet-Lite2 (ONNX) β Renesas X5H
Introduction
This repository hosts EfficientNet-Lite2, targeting the Renesas R-Car X5H platform for image classification inference on the NPX6 NPU.
Note: EfficientNet-Lite is Google's TF-optimized variant of EfficientNet (no SE blocks, ReLU6, fixed stem/head) β an architecturally distinct family from the standard EfficientNet (V1) repos already in this collection (
EfficientNet-B0-ONNXetc.). See also the sibling repoEfficientNet-Lite0-ONNX.
Resolution discrepancy note: the upstream
timm/tf_efficientnet_lite2.in1kcheckpoint's published native/test resolution is 260Γ260, but the GF benchmark run documented below was executed at 224Γ224. This is reported as-measured from the source benchmark export without correction β actual accuracy at 224Γ224 would differ from the checkpoint's published ImageNet numbers (which were measured at 260Γ260).
- Model Architecture: EfficientNet-Lite2 β TF-optimized, SE-free, ReLU6 compound-scaled convolutional network for 1000-class image classification
- Source Model: timm/tf_efficientnet_lite2.in1k
- Task: Image Classification (ImageNet-1k, 1000 classes)
- Parameters: 6.1M (timm model card: Params (M): 6.1, GMACs: 0.9)
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.
tf_efficientnet_lite2_..._optimized.onnx (FP32)
β
βββΆ MWMX Runtime βββΆ INT8 auto-cast βββΆ NPX6 NPU
Provided Artifacts
| Artifact | Status | Notes |
|---|---|---|
| FP32 (ONNX) | β | fp32/tf_efficientnet_lite2.onnx β FP32 ONNX export |
Performance
Measured on Renesas R-Car X5H via the MWMX runtime (APM50 ship-performance CI pipeline).
Benchmark configuration: Single NPU Β· Single AI Core Β· Batch size: 1 Β· Input: 3 Γ 224 Γ 224 (below this checkpoint's published native/test resolution of 260 Γ 260 β see note above).
| Runtime | Precision | Device | Latency (ms) | Type |
|---|---|---|---|---|
| MWMX Runtime | INT8 (auto) | X5H Β· 1Γ NPU Β· 1 Core Β· 850 MHz | 1.499615 | Measured |
Only the 1-AI-core slice was run for this model in the source benchmark export β the 12-core slice was skipped, so no 12-core row is reported here.
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
Download
hf download Renesas/EfficientNet-Lite2-ONNX --repo-type=model --include "fp32/*"
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: only the 1 AI core slice was run for this model; the 12-core slice was skipped in the source export
Model tree for Renesas/EfficientNet-Lite2-ONNX
Base model
timm/tf_efficientnet_lite2.in1k