DenseNet121 (ONNX) – Renesas X5H

Introduction

This repository hosts DenseNet-121, targeting the Renesas R-Car X5H platform for image classification inference on the NPX6 NPU.

  • Model Architecture: DenseNet-121 β€” a densely-connected convolutional network where each layer receives feature maps from all preceding layers.
  • Source Model: onnxmodelzoo/densenet-12 β€” ONNX Model Zoo densenet-12
  • Task: Image Classification (ImageNet ILSVRC2012, 1000 classes)
  • Parameters: 8.0M

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.

densenet_12_..._optimized.onnx (FP32)
        β”‚
        └─▢  MWMX Runtime  ──▢  INT8 auto-cast  ──▢  NPX6 NPU

Provided Artifacts

Artifact Status Notes
FP32 (ONNX) βœ… Published fp32/densenet-12.onnx β€” auto-cast to INT8 by the MWMX toolchain at compile time (see Deployment Flow above); no separate INT8 file is shipped

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)

Parameters Runtime Precision Device Latency (ms) Type
8.0M MWMX Runtime INT8 (auto) X5H Β· 1Γ— NPU Β· 1 Core Β· 850 MHz 8.019356 Measured
8.0M MWMX Runtime INT8 (auto) X5H Β· 1Γ— NPU Β· 12 Cores Β· 850 MHz 8.780072 Measured

Note: the 12-core configuration is slightly slower than the 1-core configuration here β€” dense connectivity creates many sequential, small-tensor operations, so parallelism overhead can outweigh the benefit. Numbers are reported as measured, without adjustment.

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:

  1. Renesas R-Car X5H board with NPX6 NPU
  2. Renesas MWMX Runtime
  3. Hugging Face CLI to download the model

Download

hf download Renesas/DenseNet121-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_runtime CI 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
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Renesas/DenseNet121-ONNX

Quantized
(1)
this model