인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
배포 및 운영 · SKILL.md

export

export

Use this YOLOv5 sub-skill for model export, deployment formats, backend prerequisites, benchmarks, TensorRT/ONNX/CoreML/TFLite/OpenVINO/Paddle issues, and export safety.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: export description: "Use this YOLOv5 sub-skill for model export, deployment formats, backend prerequisites, benchmarks, TensorRT/ONNX/CoreML/TFLite/OpenVINO/Paddle issues, and export safety." disable-model-invocation: true metadata: disco-role: operating license: AGPL 3.0

YOLOv5 Export and Benchmarks

Use this route for export.py, benchmarks.py, deployment-format conversion, export prerequisite checks, TensorRT/ONNX/CoreML/OpenVINO/TensorFlow/TFLite/TF.js/Paddle/Edge TPU issues, or benchmark planning.

Choose the workflow

  • Export a checkpoint: read references/formats.md to choose --include formats, dependencies, device, image size, dynamic/NMS options, and validation strategy.
  • Check optional dependencies: run scripts/check_export_prereqs.py --formats onnx torchscript or another format list before installing heavy packages or converting models.
  • Benchmark formats: read references/benchmarks.md before running benchmarks.py; benchmark commands can export models, download weights/data, and run validation.
  • Backend errors: read references/troubleshooting.md for TensorRT version mismatch, ONNX dependency, Edge TPU compiler, TensorFlow/Keras, CoreML, OpenVINO, and path-safety failures.

Common decisions

  • Export only after selecting a task-compatible checkpoint from detection, segmentation, or classification.
  • ONNX is the smallest common non-PyTorch export dependency; TorchScript does not need ONNX.
  • TensorRT engines should be built and validated on the target runtime stack.
  • --half and --device 0 imply CUDA-capable execution; do not force them on CPU.
  • Keep output directories/files explicit and isolated.
  • Do not run broad --include lists just to see what happens; install/check only selected formats.

Handoffs

  • Route model training/selection to ../detection/SKILL.md, ../segmentation/SKILL.md, or ../classification/SKILL.md first.
  • Route Flask HTTP serving to ../serving/SKILL.md if the user wants the repository's Flask example instead of an exported artifact.
  • Read root references/environment.md for optional dependency grouping and backend setup.
저장한 Skills