dx-agent-stream-model-management

Query, download, and validate .dxnn models for dx_stream GStreamer pipelines.

3|5|Updated Jan 21, 2025
One-click install
npx skills add https://github.com/DEEPX-AI/dx_stream --skill dx-agent-stream-model-management-deepx-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dx-agent-stream-model-management
Source: https://github.com/DEEPX-AI/dx_stream/tree/main/.deepx/skills/dx-agent-stream-model-management
Command: npx skills add https://github.com/DEEPX-AI/dx_stream --skill dx-agent-stream-model-management-deepx-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing .dxnn model files for DX-Stream GStreamer pipelines requires knowing which models are available, which postprocess library each model needs, and how to verify a model works before wiring it into a pipeline. This Skill centralizes that registry knowledge and validation workflow. ## Core Features & Use Cases - Model Registry Queries: Look up the 14 supported .dxnn models by task type (detection, face detection, pose estimation, segmentation, classification) using the model_list.json schema. - Model Download: Fetch specific models or the full set via setup.sh into the dx_stream samples/models directory. - Pipeline Validation: Verify a .dxnn file, its matching libpostprocess shared library, and exported PostProcess symbol, then test with a minimal gst-launch-1.0 pipeline. - Use Case: You want to run YOLOv8N object detection on a DEEPX NPU. Use this Skill to confirm the model is in the registry, download it, locate libpostprocess_yolov8n.so, and validate the full dxpreprocess → dxinfer → dxpostprocess chain before building your application. ## Quick Start Ask the agent to check whether the YoloV8N model is available in the registry and validate it for use in a dx_stream pipeline.

Frequently Asked Questions about dx-agent-stream-model-management

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

FAQPage Schema
How do I check if a .dxnn model is available in dx_stream?▼

Check the model_list.json file at the dx_stream root, which lists all 14 supported .dxnn filenames. You can parse it with Python's json module and search for the model name substring to confirm availability.

How do I download dx_stream models for GStreamer pipelines?▼

Run ./setup.sh --model="<filename>.dxnn" to download a specific model, or ./setup.sh with no arguments to download all models. Downloaded files are stored under dx_stream/samples/models/.

Which postprocess library does each dx_stream model need?▼

Each model maps to a specific libpostprocess shared library, such as libpostprocess_yolov8n.so for YoloV8N or libpostprocess_scrfd500m.so for SCRFD500M. The mapping table in the Skill lists the library for all 14 models.

How do I validate a .dxnn model before using it in a pipeline?▼

Confirm the model file exists, check the matching libpostprocess .so is installed under /usr/local/share/gstdxstream/lib, verify the PostProcess symbol is exported using nm -D, then run a minimal gst-launch-1.0 pipeline with dxpreprocess, dxinfer, and dxpostprocess.

What task types do dx_stream models support?▼

The registry covers five task types: object detection (8 models including YoloV5S, YoloV7, YoloV8N, YoloV9S, YoloXS, YOLOV11N, yolo26n), face detection (SCRFD500M, YOLOv5s_Face), pose estimation, segmentation, and classification (EfficientNet_Lite0).