Skip to content
cccskills
FreePublished on GitHub

detrex

Use detrex for detection-transformer configs, training/evaluation, demos, model zoo conversion, and package API debugging.

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

See how to install

Files included (27)

  • SKILL.md3.7 KB
  • references/environment-and-installation.md3.8 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json490 B
  • references/troubleshooting.md3.4 KB
  • scripts/check_environment.py8.8 KB
  • sub-skills/model-zoo-and-converters/references/backbones.md2.2 KB
  • sub-skills/model-zoo-and-converters/references/converters.md3.1 KB
  • sub-skills/model-zoo-and-converters/references/project-guide.md3.8 KB
  • sub-skills/model-zoo-and-converters/references/troubleshooting.md2.5 KB
  • sub-skills/model-zoo-and-converters/scripts/checkpoint_tools.py22.1 KB
  • sub-skills/model-zoo-and-converters/SKILL.md1.5 KB
  • sub-skills/package-apis/references/api-reference.md13.4 KB
  • sub-skills/package-apis/references/backbones-and-data.md8.8 KB
  • sub-skills/package-apis/references/troubleshooting.md10.3 KB
  • sub-skills/package-apis/scripts/api_smoke.py12.4 KB
  • sub-skills/package-apis/SKILL.md2.4 KB
  • sub-skills/tools-and-demos/references/demo-workflows.md4.2 KB
  • sub-skills/tools-and-demos/references/tools-reference.md5.6 KB
  • sub-skills/tools-and-demos/references/troubleshooting.md2.2 KB
  • sub-skills/tools-and-demos/scripts/build_tool_command.py13.3 KB
  • sub-skills/tools-and-demos/SKILL.md2.1 KB
  • sub-skills/training-and-configs/references/configuration.md11.1 KB
  • sub-skills/training-and-configs/references/training-workflows.md9.4 KB
  • sub-skills/training-and-configs/references/troubleshooting.md9.9 KB
  • sub-skills/training-and-configs/scripts/build_train_command.py11.1 KB
  • sub-skills/training-and-configs/SKILL.md3.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

detrex repo skill

detrex is a Detectron2-based toolbox for Transformer object detection, segmentation, and related DETR-family research workflows. Use this skill when a task names detrex or asks for DETR/DINO/Deformable-DETR/MaskDINO/CO-MOT configs, training, evaluation, demos, checkpoint conversion, or package API debugging.

Before acting

  1. Read references/repo-provenance.md when checking whether this skill matches a checkout or when deciding whether to refresh it.
  2. Read references/environment-and-installation.md before install/build/import work.
  3. Run scripts/check_environment.py for safe import, CUDA-extension, config, and tool-help checks.
  4. Use references/troubleshooting.md for cross-cutting install/import/backend issues, then route to the closest sub-skill troubleshooting page.

Route by task

User needRead
Build or debug train/eval commands, LazyConfig overrides, datasets, fast debug, AMP, EMA, WandB, DDP, Hydra, or Slurm command shapetraining-and-configs
Choose a project/model family, interpret model zoo rows, use DINO/MaskDINO/CO-MOT project notes, inspect/convert DETR-family checkpoints, or change pretrained backbonesmodel-zoo-and-converters
Run or construct image/video demos, visualize JSON predictions or datasets, inspect model structure/FLOPs, or build benchmark commandstools-and-demos
Import/inspect Python APIs for layers, losses, matchers, backbones, data mappers, config helpers, checkpointing, EMA, distributed utilities, WandB writer, or compiled opspackage-apis

Minimal install/import orientation

Public source installations normally require Linux, Python 3.7+, matching PyTorch/torchvision, Detectron2, compiler tools, and CUDA toolkit when the custom CUDA extension is needed. A minimal validation sequence is:

python -c "import torch, torchvision; print(torch.__version__, torchvision.__version__)"
python -c "import detectron2; import detrex; print('detrex import ok')"
python scripts/check_environment.py --strict --check-config common/train.py
python scripts/check_environment.py --strict --check-cuda-extension

Only require the CUDA-extension check when the task needs MultiScaleDeformableAttention, Deformable-DETR, DINO, or other compiled-op paths. CPU-safe API/config work can still be valid without running full GPU demos or COCO training.

Operating guardrails

  • Do not assume the original source checkout is available. Use installed package modules or bundled scripts/references in this skill.
  • Do not download model weights, demo inputs, datasets, or benchmark assets unless the user explicitly asks and provides sources or approval.
  • Treat full training, full COCO evaluation, real demos, benchmarks, and tracking evaluation as expensive/native workflows that need user-provided artifacts and runtime approval.
  • Keep config, checkpoint, dataset, and backbone families aligned; DETR-family checkpoints are not interchangeable solely because they share a backbone.
  • Use project-specific trainers when the model family documents a hacked or specialized trainer route.
  • For custom datasets, validate Detectron2 registration, metadata, file paths, and mapper choice before debugging model code.

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