Skip to content
Agentmart
Submit a tool

dino

Routes DINO DETR object-detection setup, COCO data validation, CUDA deformable-attention preparation, training, evaluation, inference, visualization, and…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

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-dino

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

Routes DINO DETR object-detection setup, COCO data validation, CUDA deformable-attention preparation, training, evaluation, inference, visualization, and bounded benchmarking tasks.

Use cases: data, 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/dino

What's inside

Skill name
dino
Description
Routes DINO DETR object-detection setup, COCO data validation, CUDA deformable-attention preparation, training, evaluation, inference, visualization, and bounded benchmarking tasks.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
95 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (25)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • build_dino_extension.py · scripts/
  • run_dino_benchmark.py · scripts/
  • run_dino_eval.py · scripts/
  • SKILL.md · sub-skills/data-model-setup/
  • data-formats.md · sub-skills/data-model-setup/references/
  • environment.md · sub-skills/data-model-setup/references/
  • model-architecture.md · sub-skills/data-model-setup/references/
  • troubleshooting.md · sub-skills/data-model-setup/references/
  • check_dino_environment.py · sub-skills/data-model-setup/scripts/
  • validate_coco_layout.py · sub-skills/data-model-setup/scripts/
  • SKILL.md · sub-skills/inference-evaluation/
  • api-reference.md · sub-skills/inference-evaluation/references/
  • benchmarking.md · sub-skills/inference-evaluation/references/
  • troubleshooting.md · sub-skills/inference-evaluation/references/
  • workflows.md · sub-skills/inference-evaluation/references/
  • inference_smoke.py · sub-skills/inference-evaluation/scripts/
  • SKILL.md · sub-skills/training/
  • configuration.md · sub-skills/training/references/
  • troubleshooting.md · sub-skills/training/references/
  • workflows.md · sub-skills/training/references/
  • build_dino_command.py · sub-skills/training/scripts/

SKILL.md (first lines)

# DINO repo skill

Use this skill for the official IDEA Research implementation of **DINO: DETR
with Improved DeNoising Anchor Boxes for End-to-End Object Detection**. It is a
router and operating guide for a DINO checkout or compatible installed runtime;
it is not a replacement for model weights, COCO data, or the PyTorch/CUDA
runtime.

## Route by task

- **Prepare or diagnose an environment, COCO layout, model shape, or compiled
  deformable-attention operator:** read
  [data-model-setup](sub-skills/data-model-setup/SKILL.md).
- **Train, fine-tune, resume, choose scale/backbone, or construct a
  single/distributed/Submitit command:** read
  [training](sub-skills/training/SKILL.md).
- **Evaluate a checkpoint, run one custom image, interpret boxes, visualize, or
  measure GFLOPS/FPS:** read
  [inference-evaluation](sub-skills/inference-evaluation/SKILL.md).

For a task spanning routes, run setup first, then training or inference. Do not
start a long job until the setup route has recorded its data, config, package,
and backend gates.

## Minimum prerequisites

The upstream project documents Python 3.7.3, PyTorch 1.9.0, and CUDA 11.1 as
its historical reference environment. Keep `torch` and `torchvision` on a
compatible release family and compile the custom operator against the same
CUDA family. A verified modern inspection combination used Python 3.11,
PyTorch 2.5.1+cu121, torchvision 0.20.1+cu121, CUDA 12.1 `nvcc`, GCC 12.4,
and an A100 (compute capability 8.0). Treat that as evidence for one tested
combination, not a universal compatibility promise.

Install the documented runtime requirements in an isolated environment:

```bash
python -m pip install -r requirements.txt
python -m pip check
```

For standard DINO deformable attention, verify `torch`, `torchvision`,
`pycocotools`, and `MultiScaleDeformableAttention`. Add `panopticapi` only
for panoptic/mask workflows. Read
[data-model-setup environment guidance](sub-skills/data-model-setup/references/environment.md)
before compiling CUDA code.

## Safe first checks

From the target project root, run the bundled read-only probes before changing
anything:

```bash
python skills/disco/dino/sub-skills/data-model-setup/scripts/check_dino_environment.py \
  --require-extension --require-coco --pip-check
python skills/disco/dino/sub-skills/data-model-setup/scripts/validate_coco_layout.py \
  /path/to/COCODIR --split val
```

The first command checks imports and reports backend status; it does not install
or build. The second checks JSON references and paths without downloading,
copying, deleting, or rewriting data. Add `--require-cuda` and `--smoke-cuda`
only when a free visible GPU is intentionally selected.

## Cross-cutting rules

- Pair 4-scale checkpoints with `DINO_4scale.py` and 5-scale checkpoints with
  `DINO_5scale.py`; also match backbone and class vocabulary.
- `num_classes` follows the repository's maximum category-ID-plus-one
  convention. For custom data, preserve the documented denoising rule
  `dn_labelbook_size >= num_classes + 1`.
- DINO's deformable encoder/decoder depends on the compiled CUDA operator. A
  CPU import or config parse is not evidence that the CUDA model path works.
- `batch_size` is per process. Compute the effective global batch before
  comparing runs or changing learning-rate assumptions.
- `--resume` restores a full training state; `--pretrain_model_path` performs
  partial model initialization and is the fine-tuning path.
- Do not download checkpoints/data, launch Slurm jobs, mutate dataset roots,
  or start long training from the bundled helper scripts by accident.

For install/import/config failures, read [shared troubleshooting](references/troubleshooting.md).
For provenance or refresh decisions, read [repository provenance](references/repo-provenance.md).
For a reviewable evaluation command, use [the bundled evaluator planner](scripts/run_dino_eval.py); for a reviewable operator build, use [the bundled extension wrapper](scripts/build_dino_extension.py). Both print commands and require explicit launch flags for side effects.

## Verification boundary

This skill was integrated from source commit `d84a491d41898b3befd8294d1cf2614661fc0953`.
The prepared environment passed package imports, `pip check`, config/API smoke
checks, CUDA allocation on a selected free A100, and compilation/import of the
custom operator. Full COCO training/evaluation, downloaded checkpoints,
pretrained Swin/ConvNeXt assets, the numerical operator test, and active Slurm
submission were intentionally deferred; preserve those limits in any result
report.

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 (1 month 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

Cite this page

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