Skip to content
cccskills
FreePublished on GitHub

dino

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

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

See how to install

Files included (25)

  • SKILL.md4.8 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json321 B
  • references/troubleshooting.md3.2 KB
  • scripts/build_dino_extension.py2.9 KB
  • scripts/run_dino_benchmark.py2.2 KB
  • scripts/run_dino_eval.py3.3 KB
  • sub-skills/data-model-setup/references/data-formats.md6.8 KB
  • sub-skills/data-model-setup/references/environment.md6.1 KB
  • sub-skills/data-model-setup/references/model-architecture.md6.7 KB
  • sub-skills/data-model-setup/references/troubleshooting.md7.1 KB
  • sub-skills/data-model-setup/scripts/check_dino_environment.py10.7 KB
  • sub-skills/data-model-setup/scripts/validate_coco_layout.py16.5 KB
  • sub-skills/data-model-setup/SKILL.md6.0 KB
  • sub-skills/inference-evaluation/references/api-reference.md8.9 KB
  • sub-skills/inference-evaluation/references/benchmarking.md3.8 KB
  • sub-skills/inference-evaluation/references/troubleshooting.md6.7 KB
  • sub-skills/inference-evaluation/references/workflows.md6.8 KB
  • sub-skills/inference-evaluation/scripts/inference_smoke.py15.7 KB
  • sub-skills/inference-evaluation/SKILL.md6.4 KB
  • sub-skills/training/references/configuration.md7.9 KB
  • sub-skills/training/references/troubleshooting.md11.1 KB
  • sub-skills/training/references/workflows.md11.8 KB
  • sub-skills/training/scripts/build_dino_command.py18.5 KB
  • sub-skills/training/SKILL.md8.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.
  • Train, fine-tune, resume, choose scale/backbone, or construct a single/distributed/Submitit command: read training.
  • Evaluate a checkpoint, run one custom image, interpret boxes, visualize, or measure GFLOPS/FPS: read inference-evaluation.

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:

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 before compiling CUDA code.

Safe first checks

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

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. For provenance or refresh decisions, read repository provenance. For a reviewable evaluation command, use the bundled evaluator planner; for a reviewable operator build, use the bundled extension wrapper. 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.

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-Skill340Updated 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-Skill340Updated 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-Skill340Updated 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-Skill340Updated 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-Skill340Updated 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-Skill340Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill