FCN-UNet (ONNX) β Renesas X5H
Introduction
This repository hosts FCN-UNet, targeting the Renesas R-Car X5H platform for image-segmentation inference on the NPX6 NPU.
- Model Architecture: U-Net (S5-D16 encoder-decoder) with an FCN decode head β a classic encoder-decoder segmentation architecture with skip connections between symmetric down/up-sampling stages
- Source Model: open-mmlab/mmsegmentation
- Task: image-segmentation (dataset: cityscapes)
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.
fcn_unet_s5-d16_4x4_512x1024_160k_cityscapes_20211210_145204-6860854e_sepconv.onnx (FP32)
β
βββΆ MWMX Runtime βββΆ INT8 auto-cast βββΆ NPX6 NPU
Provided Artifacts
| Artifact | Status | Notes |
|---|---|---|
| FP32 (ONNX) | β³ Pending | fp32/fcn_unet_s5-d16_4x4_512x1024_160k_cityscapes_20211210_145204-6860854e_sepconv.onnx β to be added; will be auto-cast to INT8 by the MWMX toolchain at compile time (see Deployment Flow above); no separate INT8 file will be shipped |
Performance
Measured on Renesas R-Car X5H via the MWMX runtime (APM80 ship-performance CI pipeline).
Benchmark configuration: Single NPU Β· Batch size: 1 Β· Input: 3 Γ 512 Γ 1024
| AI Cores | Runtime | Precision | Device | Latency (ms) | Type |
|---|---|---|---|---|---|
| 12 | MWMX Runtime | INT8 (auto) | X5H Β· 1Γ NPU Β· 12 Core Β· 850 MHz | 26.83 | 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
Download
hf download Renesas/FCN-Unet-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, "APM80" ship-performance target) - Precision: FP32 ONNX input; INT8 execution (auto-cast by MWMX)