Skip to content
Back to skills

Training References

ASecurity

"Use when planning or auditing TorchVision reference

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

Works with

  • api

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 training-references --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training References?

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

Security grade badge for Training References
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-references/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-references)

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: training-references
description: "Use when planning or auditing TorchVision reference
  training/evaluation workflows for classification, quantization, detection,
  segmentation, video classification, optical flow, similarity learning, or
  stereo depth without launching expensive jobs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# TorchVision Training References

Use this sub-skill to turn TorchVision's official reference scripts into safe command plans, dataset-layout checks, and troubleshooting notes. The reference scripts are training baselines rather than stable package APIs; always treat generated commands as plans to review before running.

## Route first

- For model constructors, weight enums, or `weights.transforms()` usage, route to `../models-and-weights/`.
- For transform implementation details, TVTensors, masks, boxes, videos, or custom v2 pipelines, route to `../transforms-and-tv-tensors/`.
- For dataset constructors, downloads, codecs, and tiny fixtures, route to `../datasets-io-utils/`.
- For box utilities, NMS, ROI ops, and detection postprocessing internals, route to `../ops-and-detection/`.

## Safe workflow

1. Identify the task family: classification, quantization, detection, segmentation, video classification, optical flow, similarity learning, or stereo depth.
2. Read `references/task-command-recipes.md` for concrete command skeletons and safety labels.
3. Check `references/data-layouts-and-presets.md` for expected dataset layout, preset, and preprocessing assumptions.
4. Use `scripts/inspect_reference_args.py --list` or `--task <name>` to inspect known argument families without importing or running training code.
5. Read `references/troubleshooting.md` before advising a user to run any command that needs datasets, GPUs, distributed launch, checkpoints, or weight downloads.

## Safety labels

- Safe: listing arguments, producing command plans, and reviewing flags.
- Review required: single-process evaluation on already-prepared local data, especially when it may download weights.
- Unsafe by default: full training, distributed `torchrun`, dataset downloads, model-url download checks, release scripts, and benchmarks.

## Bundled helper

Run the helper from this sub-skill directory or provide its path explicitly:

```bash
python scripts/inspect_reference_args.py --list
python scripts/inspect_reference_args.py --task detection
python scripts/inspect_reference_args.py --task classification --format shell
```

The helper is a static summary adapted from the reference parsers. It does not import TorchVision, import the original scripts, read datasets, download weights, launch distributed jobs, or run training.

Files in this skill

  • SKILL.md2.7 KB
  • references/data-layouts-and-presets.md4.4 KB
  • references/task-command-recipes.md7.2 KB
  • references/troubleshooting.md4.2 KB
  • scripts/inspect_reference_args.py8 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.