Skip to content
Back to skills

Classification

ASecurity

"Use this YOLOv5 sub-skill for image-classification training,

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

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 classification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Classification?

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

Security grade badge for Classification
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-classification-902b19f3/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-classification-902b19f3)

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: classification
description: "Use this YOLOv5 sub-skill for image-classification training,
  validation, prediction, ImageFolder data, YOLOv5-cls checkpoints, and
  torchvision model choices."
disable-model-invocation: true
metadata:
  disco-role: operating
license: AGPL 3.0
---

# YOLOv5 Classification

Use this route for YOLOv5 image classification workflows involving `classify/predict.py`, `classify/train.py`, `classify/val.py`, `yolov5*-cls.pt` checkpoints, torchvision classifier model names, ImageFolder datasets, or classification-specific output/troubleshooting.

## Choose the workflow

- **Predict classes**: read `references/workflows.md` for source handling, image size, device, save options, and classifier output expectations.
- **Train classifiers**: use the training section for named datasets, local ImageFolder directories, pretrained models, freeze/dropout/cutoff choices, and DDP.
- **Validate classifiers**: use the validation section for accuracy checks, ImageNet-style layout, batch size, half/DNN, and output directories.
- **Data layout**: read `references/data-formats.md` before using a custom directory or named dataset.

Use `scripts/plan_classification_command.py` to preview commands without downloads, training, media processing, or output writes.

## Common decisions

- Use `yolov5s-cls.pt` or a small torchvision model for smoke-scale planning.
- Use local ImageFolder paths for reproducible work; named datasets may download.
- Classification uses probabilities/top-k outputs, not boxes or masks.
- Keep `--project`, `--name`, and `--exist-ok` explicit.
- Use CPU for parser/import checks and CUDA for realistic training.

## Handoffs

- Route detection boxes to `../detection/SKILL.md` and masks to `../segmentation/SKILL.md`.
- Route checkpoint export to `../export/SKILL.md` after selecting a classifier checkpoint.
- Read root `references/datasets-and-weights.md` for checkpoint names and ImageNet download risks.

Files in this skill

  • SKILL.md1.9 KB
  • references/data-formats.md1.4 KB
  • references/troubleshooting.md1.4 KB
  • references/workflows.md2.6 KB
  • scripts/plan_classification_command.py3.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.