Skip to content
cccskills
FreePublished on GitHub

d-fine

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (27)

  • SKILL.md3.6 KB
  • references/install-and-environment.md2.5 KB
  • references/repo-provenance.md1.5 KB
  • references/repo-routing-metadata.json321 B
  • references/troubleshooting.md2.7 KB
  • scripts/dfine_environment_probe.py5.4 KB
  • sub-skills/architecture-api/references/api-reference.md5.6 KB
  • sub-skills/architecture-api/references/model-architecture.md5.2 KB
  • sub-skills/architecture-api/references/troubleshooting.md3.9 KB
  • sub-skills/architecture-api/scripts/inspect_dfine_model.py7.8 KB
  • sub-skills/architecture-api/SKILL.md3.0 KB
  • sub-skills/data-and-configs/references/data-and-configs.md12.7 KB
  • sub-skills/data-and-configs/references/troubleshooting.md6.9 KB
  • sub-skills/data-and-configs/scripts/validate_detection_dataset.py23.5 KB
  • sub-skills/data-and-configs/SKILL.md2.6 KB
  • sub-skills/inference-export/references/deployment-and-benchmarks.md7.0 KB
  • sub-skills/inference-export/references/inference-and-export.md8.8 KB
  • sub-skills/inference-export/references/troubleshooting.md8.2 KB
  • sub-skills/inference-export/scripts/dfine_benchmark_command.py3.0 KB
  • sub-skills/inference-export/scripts/dfine_export_command.py4.8 KB
  • sub-skills/inference-export/scripts/dfine_inference_command.py6.2 KB
  • sub-skills/inference-export/scripts/extract_ema_checkpoint.py2.8 KB
  • sub-skills/inference-export/SKILL.md3.6 KB
  • sub-skills/training-evaluation/references/training-and-evaluation.md7.9 KB
  • sub-skills/training-evaluation/references/troubleshooting.md5.3 KB
  • sub-skills/training-evaluation/scripts/dfine_train_command.py6.8 KB
  • sub-skills/training-evaluation/SKILL.md1.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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:

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:

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

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

Route map

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill