界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

data-and-configs

data-and-configs

【数据与研究】Select, validate, and safely modify D-FINE dataset and YAML configs.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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. For failures, use references/troubleshooting.md. For COCO-format annotation checks, run the bundled validator in 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

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.
  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.
我的收藏