Skip to content
Back to skills

Data Preparation

ASecurity

"Dataset YAMLs, label layout, augmentation, anchor planning,

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

Security analysis

A100/100

Pro scans all 4 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-0135bd75/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-data-preparation-0135bd75)

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: "Dataset YAMLs, label layout, augmentation, anchor planning,
  caching, and dataset sanity checks for ScaledYOLOv4."
metadata:
  disco-role: operating
disable-model-invocation: true
license: GPL 3.0
---

# Data preparation

Use this sub-skill when the user needs to understand or repair the data side of the repository rather than training the model itself.

## Typical requests

- How should a custom dataset be laid out for this repo?
- Why does the loader reject a label file or image path?
- How do I check anchors, cache files, or image lists before training?
- How do I convert or reorganize a dataset into the format this checkout expects?
- Why does a dataset YAML or label sample fail validation?

## What this sub-skill owns

- Dataset YAML structure and path resolution.
- YOLO label format and cache behavior.
- Image and video source classification for the shared loaders.
- Augmentation and resizing helpers used by training.
- Anchor planning and dataset conversion helpers.
- Data-related failures such as missing files, malformed labels, or bad class counts.

## What it does not own

- The training loop, checkpointing, or distributed launch details → `../training/`.
- Standalone validation metrics and COCO scoring → `../evaluation/`.
- Image/video/webcam/stream detection runs → `../inference/`.
- TorchScript, ONNX, or CoreML export → `../export/`.

## Read before acting

- `../../references/data-layout.md` for the canonical dataset and label layout.
- `../../references/model-overview.md` when anchor or stride behavior matters.
- `references/data-workflows.md` for the main data-side functions and decision points.
- `references/troubleshooting.md` for dataset-specific failures and recovery steps.

## Bundled helper

- `scripts/inspect_dataset.py` validates dataset YAMLs, split sources, and sample labels without starting training.

## Workflow in practice

1. Inspect the YAML and make sure `train`, `val`, `test`, `nc`, and `names` agree.
2. Confirm the split sources resolve to the expected image lists or directories.
3. Check a few sample label files for the five-column normalized YOLO format.
4. Only then move on to anchor planning, caching, or training.

## Good signs

- The label files exist where the split source implies they should.
- `nc` matches the number of class names.
- Sample labels stay in `[0, 1]` and use zero-based classes.
- Anchor planning can proceed without obvious class-count or layout errors.

## Bad signs

- A split source points to an empty directory or broken image list.
- Labels have too many columns, negative values, or out-of-range coordinates.
- The dataset names do not match `nc`.
- A cache rebuild keeps discovering the same malformed source files.

Files in this skill

  • SKILL.md2.7 KB
  • references/data-workflows.md3 KB
  • references/troubleshooting.md2 KB
  • scripts/inspect_dataset.py8.3 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.