Semantic-FPN (ONNX) β Renesas X5H
Introduction
This repository hosts Semantic FPN (Panoptic-FPN's segmentation branch) with a ResNet50 backbone, targeting the Renesas R-Car X5H platform for semantic segmentation inference on the NPX6 NPU.
Note: This is an FPN-decode-head segmentation model, distinct from the FCN-decode-head Cityscapes repos already in this catalog (
FCN-R50-Cityscapes-ONNX,FCN-R18-Cityscapes-ONNX, etc.) β same dataset/resolution family (Cityscapes, 512Γ1024), but a different decode-head architecture (FPN vs. FCN).
- Model Architecture: Semantic FPN β Panoptic-FPN's segmentation branch, ResNet50 backbone with an FPN decode head
- Source Model: OpenMMLab config family
configs/sem_fpn(Cityscapes 512Γ1024 ResNet50 config) (no HuggingFace mirror; seemodel.sourcein.metadata.yaml) - Task: Semantic Segmentation (Cityscapes, 19 classes)
- Input Resolution: 512 Γ 1024
- Parameters: not published β count them from the ONNX graph (
sum(numpy_helper.to_array(t).size for t in model.graph.initializer))
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.
semantic_fpn_r50_optimized.onnx (FP32)
β
βββΆ MWMX Runtime βββΆ INT8 auto-cast βββΆ NPX6 NPU
Provided Artifacts
| Artifact | Status | Notes |
|---|---|---|
| FP32 (ONNX) | β | fp32/fpn_r50_4xb2-80k_cityscapes-512x1024.onnx β FP32 ONNX export |
Performance
Measured on Renesas R-Car X5H via the MWMX runtime (APM50 ship-performance CI pipeline).
Benchmark configuration: Single NPU Β· Batch size: 1 Β· Input: 3 Γ 512 Γ 1024
The 12-AI-core slice was not measured in this run (source CSV slice 12 =
Skipped).
| Runtime | Precision | Device | Latency (ms) | Type |
|---|---|---|---|---|
| MWMX Runtime | INT8 (auto) | X5H Β· 1Γ NPU Β· 1 Core Β· 850 MHz | 57.754332 | 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/Semantic-FPN-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 is available; the 12-core slice was
Skippedin the source APM50 CI run for this model