YAML-Driven Model Management · Evaluation · NPU Compilation
DX-ModelZoo is a unified framework for managing model preprocessing, postprocessing, evaluation, and NPU compilation — all driven by a single YAML configuration file.
- YAML-Centric Configuration — Define entire model pipelines in a single YAML file. No Python code required.
- Extensible Registry System — Add custom preprocessing, postprocessing, datasets, and evaluators via
@REGISTRY.register(). - Auto-Discovery of Custom Ops — Place a
custom_ops.pyin your model directory; it's automatically imported and registered. - Multi-Profile Execution — Manage ONNX, NPU/dxnn, and other runtime profiles within one YAML.
- 300+ Built-in Models — Production-ready CV models spanning classification, detection, segmentation, and beyond.
- Python: 3.8+
- DeepX Components:
- DeepX Runtime (DX-RT) ≥ 3.5.0 (compiled with
USE_ORT=ON) - DeepX Compiler (DX-Compiler) ≥ 2.5.0
- DeepX Runtime (DX-RT) ≥ 3.5.0 (compiled with
- GPU (optional): NVIDIA GPU with CUDA 12.2+ for GPU inference
See the Installation Guide for detailed setup instructions including WSL2 and GPU configuration.
# Install DX-RT python package
pip install dx_engine-*.whl
# Install DX-Compiler python package
pip install dx_com-*.whlgit clone https://github.com/DEEPX-AI/dx-modelzoo.git
cd dx-modelzoo
pip install -e ".[cpu]" # or ".[gpu]" for GPU inference# Point to your datasets location
export DATA_ROOT=/path/to/datasets
# (Optional) Point to model files location
export MODEL_ROOT=/path/to/modelsdxmz listdxmz info resnet50_224x224dxmz eval resnet50_224x224 --profile onnxdxmz compile resnet50_224x224 --profile q-liteEvery model is defined by a single YAML file containing preprocessing, postprocessing, dataset, and runtime profiles.
Available Profiles:
- onnx — ONNX Runtime (CPU/GPU)
- c-lite — Compile only with lite quantization
- q-lite — Compile and run on NPU with lite quantization
- q-pro — Compile and run on NPU with pro quantization
Environment Variables: Use ${DATA_ROOT}, ${MODEL_ROOT}, and ${DXMZ_MODEL_URL} in YAML files for path configuration.
See the YAML Configuration Guide for complete details and examples.
For detailed guides, please refer to the full documentation:
| Topic | Link |
|---|---|
| Installation | docs/source/02_01_Installation.md |
| Quick Start | docs/source/00_Quick_Start.md |
| YAML Configuration | docs/source/02_03_YAML_Configuration.md |
| Model Evaluation | docs/source/02_02_Model_Evaluation.md |
| Custom Models | docs/source/02_05_Custom_Models.md |
| Architecture | docs/source/03_01_Architecture_Overview.md |
| Registry & Custom Ops | docs/source/03_03_Registry.md |
See LICENSE for details.