rdk-model-zoo-integrate

Integrates custom model artifacts and changed I/O contracts into RDK Model Zoo samples.

3|Updated Aug 6, 2026
One-click install
npx skills add https://github.com/D-Robotics/rdk-skills --skill rdk-model-zoo-integrate-d-robotics
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rdk-model-zoo-integrate
Source: https://github.com/D-Robotics/rdk-skills/tree/main/skills/rdk-model-zoo-integrate
Command: npx skills add https://github.com/D-Robotics/rdk-skills --skill rdk-model-zoo-integrate-d-robotics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Replacing a default model in an RDK Model Zoo sample with a self-trained or modified model breaks assumptions about class counts, shapes, layouts, preprocessing, and output decoding. This Skill aligns the model artifact, runtime, and sample code so the integration is verified rather than assumed. ## Core Features & Use Cases - I/O Contract Mapping: Builds a per-input and per-output comparison between the source model, compiled artifact metadata, and the sample wrapper, covering shape, dtype, layout, preprocessing responsibility, and output ordering. - Toolchain Handoff: Delegates quantization and compilation subtasks to the appropriate OE toolchain router (X5, S100/S100P/S600, X3, legacy) with precise inputs, baselines, and acceptance criteria, then verifies returned receipts and hashes. - Scoped Verification: Separates toolchain artifact status from sample integration status, comparing float baselines, toolchain results, and post-integration outputs on the same reproducible input. - Use Case: You trained a 3-class YOLO model and want it running in an existing 80-class sample. The Skill checks labels, output reshape, and decoding, coordinates any needed conversion, and validates the adapted sample end to end. ## Quick Start Ask the agent to integrate your custom trained model into a specific RDK Model Zoo sample, stating the target platform, model artifact path, and what changed such as class count or input shape.

Frequently Asked Questions about rdk-model-zoo-integrate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate a custom trained YOLO model into an RDK Model Zoo sample?▼

Provide the target sample, platform, and model artifact. The Skill maps every input and output between the source model, compiled artifact, and wrapper, updates labels, reshape, and decoding for class-count changes, then validates the adapted sample against a float baseline.

How do I replace weights in an RDK Model Zoo sample without breaking it?▼

The Skill first checks architecture, format, model metadata, shape, dtype, input names, and output ordering of the new artifact against the sample's expectations. It refuses to run when compatibility evidence is missing instead of guessing.

Does this Skill handle PTQ quantization or QAT compilation itself?▼

No. Quantization, compilation, and accuracy tuning are delegated to the OE toolchain packs such as the X5 or S routers. This Skill prepares precise handoff inputs and verifies the returned receipts, hashes, and runtime compatibility.

Can I rename an X5 QAT hbm file to bin and run it directly?▼

No. Plugin HBM/HBIR and Mapper BIN artifacts are different formats and cannot be interchanged by renaming. The Skill reads the actual tool source and metadata and marks compatibility as unproven until verified.

Why does my model output wrong results after integration even though compilation succeeded?▼

Compilation success does not cover sample-level preprocessing. A common cause is duplicated normalization or mismatched input layout between the compiler and the wrapper. The Skill compares preprocessing responsibility and real inputs against the float baseline.

When should I not use this Skill for RDK Model Zoo work?▼

Do not use it to run unchanged official samples, which belongs to the base rdk-model-zoo entry, or for pure review tasks. Full new-sample delivery with bilingual docs and manifests is led by rdk-model-zoo-develop.