Skip to content
Agentmart
Submit a tool

d-fine

Route D-FINE object-detection setup, training, architecture inspection, inference, export, and troubleshooting workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying d-fine?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-d-fine

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route D-FINE object-detection setup, training, architecture inspection, inference, export, and troubleshooting workflows.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/d-fine

What's inside

Skill name
d-fine
Description
Route D-FINE object-detection setup, training, architecture inspection, inference, export, and troubleshooting workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
57 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (27)

  • SKILL.md
  • install-and-environment.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • dfine_environment_probe.py · scripts/
  • SKILL.md · sub-skills/architecture-api/
  • api-reference.md · sub-skills/architecture-api/references/
  • model-architecture.md · sub-skills/architecture-api/references/
  • troubleshooting.md · sub-skills/architecture-api/references/
  • inspect_dfine_model.py · sub-skills/architecture-api/scripts/
  • SKILL.md · sub-skills/data-and-configs/
  • data-and-configs.md · sub-skills/data-and-configs/references/
  • troubleshooting.md · sub-skills/data-and-configs/references/
  • validate_detection_dataset.py · sub-skills/data-and-configs/scripts/
  • SKILL.md · sub-skills/inference-export/
  • deployment-and-benchmarks.md · sub-skills/inference-export/references/
  • inference-and-export.md · sub-skills/inference-export/references/
  • troubleshooting.md · sub-skills/inference-export/references/
  • dfine_benchmark_command.py · sub-skills/inference-export/scripts/
  • dfine_export_command.py · sub-skills/inference-export/scripts/
  • dfine_inference_command.py · sub-skills/inference-export/scripts/
  • extract_ema_checkpoint.py · sub-skills/inference-export/scripts/
  • SKILL.md · sub-skills/training-evaluation/
  • training-and-evaluation.md · sub-skills/training-evaluation/references/
  • troubleshooting.md · sub-skills/training-evaluation/references/
  • dfine_train_command.py · sub-skills/training-evaluation/scripts/

SKILL.md (first lines)

# D-FINE Repo Skill

Use this skill when the user is working with the D-FINE object-detection repository and needs command guidance, config selection, architecture inspection, inference/export recipes, or troubleshooting.

## Quick install and smoke check

From a D-FINE checkout, install the runtime dependencies first:

```bash
pip install -r requirements.txt
```

Add optional backend packages only when the workflow needs them:

- `pip install -r tools/inference/requirements.txt` for ONNX Runtime, TensorRT, or OpenVINO inference helpers.
- `pip install -r tools/benchmark/requirements.txt` for FLOPs or TensorRT benchmark helpers.
- `pip install onnx onnxsim` before ONNX export if they are not already available.
- `pip install matplotlib` if solver/validator imports fail during inspection.

Then run the bundled smoke probe from the checkout root:

```bash
python scripts/dfine_environment_probe.py --repo-root . --config configs/dfine/dfine_hgnetv2_n_coco.yml --build-model
```

Read [references/install-and-environment.md](references/install-and-environment.md) for the public install paths and optional backend prerequisites, and read [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill matches the checkout.

## Route map

- **Dataset/config selection, class counts, remap policy, and YAML preflight**: use [sub-skills/data-and-configs/SKILL.md](sub-skills/data-and-configs/SKILL.md).
- **Training, `--test-only`, resume, tuning, AMP/EMA, DDP launch, and output dirs**: use [sub-skills/training-evaluation/SKILL.md](sub-skills/training-evaluation/SKILL.md).
- **Registry, model graph, deploy mode, and API inspection**: use [sub-skills/architecture-api/SKILL.md](sub-skills/architecture-api/SKILL.md).
- **PyTorch / ONNX / OpenVINO / TensorRT inference, export, benchmark, and EMA extraction**: use [sub-skills/inference-export/SKILL.md](sub-skills/inference-export/SKILL.md).

## What this skill covers

- Choosing the right D-FINE config family for COCO, Objects365, Objects365-to-COCO, custom COCO-format, CrowdHuman, and VOC workflows.
- Building and checking `train.py` commands without mixing resume and tuning.
- Inspecting `YAMLConfig`, registry-based object construction, and the D-FINE model graph.
- Generating safe command recipes for image/video inference, ONNX export, TensorRT/OpenVINO deployment, and FLOPs/latency checks.
- Diagnosing import, dependency, checkpoint, config, and backend failures using bundled troubleshooting references.

## How to use the route map

1. Start with the sub-skill that matches the user-visible task.
2. Read the linked reference there for signatures, workflows, and failure modes.
3. Run the bundled helper script if the task needs a safe command generator or a config/model probe.
4. If a workflow crosses sub-skill boundaries, hand off instead of mixing unrelated logic in one answer.

## Cross-cutting notes

- D-FINE uses `src`-based registry imports, so missing registration usually means the defining module was not imported.
- `HGNetv2.pretrained` should usually be disabled for inspection or export smoke unless the user explicitly wants pretrained lookup.
- TensorRT, OpenVINO, and benchmark workflows are optional backend paths; do not claim them as verified unless the matching runtime packages are installed.
- Keep generated runtime guidance self-contained; do not depend on opening the original repository docs at answer time.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get d-fine running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying d-fine?

CallGet help
Cite this page

d-fine skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-d-fine (last updated 2026-10-24)