Skip to content
Back to skills

Data Preparation

ASecurity

"Prepares YOLO annotation lists, class-name files, anchors, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 9, 2026
tools

Security analysis

A100/100

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

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Data Preparation?

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

Security grade badge for Data Preparation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-data-preparation-cdcc66be/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-preparation-cdcc66be)

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-preparation
description: "Prepares YOLO annotation lists, class-name files, anchors, and
  Pascal VOC conversion inputs for dataset setup, label validation, and
  training-input hygiene."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Data Preparation

Use this sub-skill when the request is about preparing or checking dataset inputs for this repo:

- YOLO annotation rows and split files
- `*.names` class files
- anchor files and anchor-shape sanity checks
- Pascal VOC trees and annotation conversion
- label-quality troubleshooting before training or evaluation

## What it covers

- Annotation schema: `image_path xmin,ymin,xmax,ymax,class_id ...`
- Class ids are zero-based line numbers in the chosen class file.
- Anchor files must provide 18 numeric values that reshape to `(3, 3, 2)`.
- VOC conversion assumes the repo's `train/VOCdevkit/...` and `test/VOCdevkit/...` tree layout.
- `core/dataset.py` expects `cfg.YOLO.CLASSES`, `cfg.YOLO.ANCHORS`, `cfg.TRAIN.ANNOT_PATH`, and `cfg.TEST.ANNOT_PATH` to stay aligned.
- The bundled validator at [scripts/validate_yolo_annotations.py](scripts/validate_yolo_annotations.py) checks rows, optional class and anchor files, and optional image existence.

## Use the bundled references

- [Data formats](references/data-formats.md)
- [VOC workflow](references/voc-workflow.md)
- [Troubleshooting](references/troubleshooting.md)

## Route away when needed

This sub-skill does not run training, frozen-graph export, image/video inference, or mAP evaluation. Hand off those requests to the sibling sub-skills that own them.

Run the validator before training whenever label files, class files, anchor files, or image roots change.

Files in this skill

  • SKILL.md1.7 KB
  • references/data-formats.md3.8 KB
  • references/troubleshooting.md2.7 KB
  • references/voc-workflow.md2.5 KB
  • scripts/validate_yolo_annotations.py11.4 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…