onnx-to-cvimodel

Convert YOLO ONNX models to CVIMODEL for Sophgo CV181x TPU deployment.

23|2|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Seeed-Studio/ai-skills --skill onnx-to-cvimodel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: onnx-to-cvimodel
Source: https://github.com/Seeed-Studio/ai-skills/tree/main/skills/onnx-to-cvimodel
Command: npx skills add https://github.com/Seeed-Studio/ai-skills --skill onnx-to-cvimodel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docker, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Converts YOLO ONNX models into CVIMODEL format for deployment on Sophgo CV181x TPU platforms, simplifying the end-to-end conversion workflow from ONNX to deployable CVIMODEL artifacts.

Core Features & Use Cases

  • Universal ONNX to CVIMODEL conversion script supporting YOLO11 and YOLO26
  • Task-specific scripts for detect, pose, seg, and cls, plus batch conversion
  • Optional quantization support with included qtables and deployment-ready outputs

Quick Start

Run the universal ONNX-to-CVIMODEL conversion script with your ONNX model and calibration dataset to generate a CVIMODEL artifact ready for TPU deployment.

Frequently Asked Questions about onnx-to-cvimodel

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

FAQPage Schema
How do I convert a YOLO ONNX model to CVIMODEL for Sophgo CV181x TPU deployment?

To convert a YOLO ONNX model to CVIMODEL, you need a Docker-based TPU-MLIR environment, your ONNX model file, and a calibration dataset. The conversion script processes these inputs to generate a deployable CVIMODEL artifact for the Sophgo CV181x TPU platform.

Does the ONNX to CVIMODEL conversion support YOLO11 and YOLO26 tasks like detect, pose, seg, and cls?

Yes, the ONNX to CVIMODEL conversion supports YOLO11 and YOLO26 workflows. It includes task-specific scripts covering detect, pose, seg, and cls, allowing you to convert various YOLO model types for CV181x TPU deployment.

What do I need to set up before converting ONNX models to CVIMODEL?

Before converting ONNX models to CVIMODEL, you must set up a Docker-based TPU-MLIR environment. You also need the source ONNX model file and a calibration dataset to perform the quantization and conversion process successfully.

Can I batch convert multiple YOLO ONNX models to CVIMODEL format?

Yes, you can batch convert multiple YOLO ONNX models to CVIMODEL format. The conversion process includes batch processing capabilities and optional quantization support with included qtables to produce deployment-ready outputs.

What is the best way to apply quantization tables during YOLO ONNX to CVIMODEL conversion?

The best way to apply quantization during YOLO ONNX to CVIMODEL conversion is by using the included optional qtables. The conversion script integrates these quantization tables with your calibration dataset to generate a deployment-ready CVIMODEL.

Why does YOLO ONNX to CVIMODEL conversion require a Docker environment?

YOLO ONNX to CVIMODEL conversion requires a Docker environment because it relies on the TPU-MLIR toolchain. Docker ensures the necessary TPU-MLIR dependencies and runtime environment are consistently configured to process the ONNX model and calibration dataset.