Skip to content
Back to skills

Data And Configs

ASecurity

Select, validate, and safely modify D-FINE dataset and YAML configs.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentpythongoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill data-and-configs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data And Configs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data And Configs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-and-configs-arex-skill/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-and-configs-arex-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-and-configs
description: "Select, validate, and safely modify D-FINE dataset and YAML configs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# D-FINE data and configs router

Use this sub-skill when the task is about D-FINE dataset layout, annotation sanity, choosing a COCO/Objects365/CrowdHuman/VOC/custom config, changing YAML fields, adjusting class counts, remap policy, batch size, input size, or doing a safe dataset/config preflight.

Start with [references/data-and-configs.md](references/data-and-configs.md). For failures, use [references/troubleshooting.md](references/troubleshooting.md). For COCO-format annotation checks, run the bundled validator in [scripts/validate_detection_dataset.py](scripts/validate_detection_dataset.py).

## Route here for

- Selecting a model-size config for COCO, Objects365, Objects365-to-COCO, Objects365-to-custom, CrowdHuman, VOC, or custom COCO-format data.
- Explaining how `__include__`, `task`, `num_classes`, `remap_mscoco_category`, dataloader fields, transforms, `total_batch_size`, and input size interact.
- Preparing a custom dataset config safely before training or evaluation.
- Preflighting Object365 remap/resize assumptions without running long or mutating dataset scripts.
- Diagnosing malformed COCO JSON, missing images/annotations, wrong category IDs, class-count mistakes, or batch-size/world-size divisibility errors.

## Route away

- Training, evaluation, resume, tuning, checkpoints, DDP launch, AMP, or output directories: use [../training-evaluation/SKILL.md](../training-evaluation/SKILL.md).
- PyTorch/ONNX/OpenVINO/TensorRT inference, export, or benchmark commands that reuse a config: use [../inference-export/SKILL.md](../inference-export/SKILL.md).
- Model internals, registry construction, class-head mapping code, component changes, or deploy-mode behavior: use [../architecture-api/SKILL.md](../architecture-api/SKILL.md).

## Quick operating loop

1. Identify the dataset family and desired model size (`n`, `s`, `m`, `l`, or `x`).
2. Pick the nearest config family from the catalog in [references/data-and-configs.md](references/data-and-configs.md).
3. For custom COCO-format data, set `num_classes`, `remap_mscoco_category`, train/val `img_folder`, and train/val `ann_file` before constructing a training command.
4. Validate annotations with `python scripts/validate_detection_dataset.py --annotation <instances.json> --image-root <images-dir> --dataset-config <dataset-or-final-config.yml>`.
5. If a workflow proceeds to launch training/evaluation or inference/export, hand off to the sibling sub-skill instead of continuing here.

Files in this skill

  • SKILL.md2.6 KB
  • references/data-and-configs.md12.7 KB
  • references/troubleshooting.md6.9 KB
  • scripts/validate_detection_dataset.py23.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.