Skip to content
Back to skills

Deployment And Export

ASecurity

"Export YOLOv7-d2 models to ONNX or TorchScript, inspect

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
tools

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-and-export --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment And Export?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment And Export
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-and-export-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-and-export-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-and-export
description: "Export YOLOv7-d2 models to ONNX or TorchScript, inspect
  ONNXRuntime inputs, convert DETR checkpoints, and reason about TensorRT or
  quantization deployment."
metadata:
  disco-role: operating
disable-model-invocation: true
license: GPL 3.0
---

# Deployment and Export

Use this sub-skill when the user asks about YOLOv7-d2 ONNX/TorchScript export, ONNXRuntime inference, model IO inspection, DETR/AnchorDETR/SMCA checkpoint conversion, TensorRT, or quantization.

## Start here

1. Confirm the user has a trained checkpoint, matching config, and sample input image before export. Read [references/export-onnx.md](references/export-onnx.md).
2. Build an export command with [scripts/build_export_command.py](scripts/build_export_command.py).
3. Inspect exported ONNX files with [scripts/inspect_onnx_model.py](scripts/inspect_onnx_model.py), then read [references/onnxruntime-inference.md](references/onnxruntime-inference.md).
4. For reference DETR checkpoints, use [scripts/convert_detr_checkpoint.py](scripts/convert_detr_checkpoint.py) and read [references/checkpoint-conversion.md](references/checkpoint-conversion.md).
5. For TensorRT or quantization, read [references/quantization-and-tensorrt.md](references/quantization-and-tensorrt.md) before installing toolchains.
6. Use [references/troubleshooting.md](references/troubleshooting.md) for export/import/operator/runtime errors.

## Important distinctions

- Export is a PyTorch/Detectron2 model operation that needs the original model code, config, weights, and sample input shape.
- ONNXRuntime inference needs a completed ONNX file and postprocessing assumptions matching the exported model family.
- TensorRT and quantization are optional hardware/toolchain workflows, not automatically verified by a successful ONNX export.

## Boundaries

- For training configs and checkpoints before export, read [../training-and-configuration/SKILL.md](../training-and-configuration/SKILL.md).
- For ordinary PyTorch checkpoint demo/evaluation, read [../inference-and-evaluation/SKILL.md](../inference-and-evaluation/SKILL.md).

Files in this skill

  • SKILL.md2.1 KB
  • references/checkpoint-conversion.md1.6 KB
  • references/export-onnx.md2 KB
  • references/onnxruntime-inference.md1.5 KB
  • references/quantization-and-tensorrt.md2 KB
  • references/troubleshooting.md1.5 KB
  • scripts/build_export_command.py3.2 KB
  • scripts/convert_detr_checkpoint.py7.4 KB
  • scripts/inspect_onnx_model.py6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.