Skip to content
Back to skills

Training

ASecurity

"Routes BackgroundMattingV2 base and refine training, data layout,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolsbackend

Works with

  • cli

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Training?

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

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

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
description: "Routes BackgroundMattingV2 base and refine training, data layout,
  and benchmark setup workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# training

Use this sub-skill when the task is about configuring datasets, launching the
training scripts, or validating the paired image layout used by the repo.

## Typical triggers

- `train_base.py`
- `train_refine.py`
- `data_path.py`
- paired foreground / alpha / background data layout
- checkpoint, log, or TensorBoard output setup
- CUDA, NCCL, or multi-GPU assumptions
- the benchmark script in `eval/`

## Read first

- `references/workflows.md` for the base/refine training flow and the data path
  shape.
- `references/troubleshooting.md` for dataset, CUDA, batch-size, and flag-name
  pitfalls.
- `scripts/check_data_layout.py` before editing `data_path.py` or launching a
  long run.
- `scripts/run_training.py` when you want a dry-run or execute wrapper around
  the checkout's training CLIs.

## What this sub-skill owns

- training dataset configuration and validation
- `data_path.py` editing guidance
- checkpoint and log directory conventions
- base vs refine training behavior
- distributed GPU assumptions in refine training
- benchmark layout and metric expectations

## What it does not own

- demo inference; use `inference-and-demo`
- TorchScript or ONNX export; use `export-and-backends`

## Recommended first checks

1. Validate the data layout before touching the training loop.
2. Confirm the dataset name is one of the real foreground/alpha datasets.
3. Use the dry-run wrapper before any expensive launch.

## Cross-links

- `../inference-and-demo/SKILL.md`
- `../export-and-backends/SKILL.md`
- `../../references/data-formats.md`

Files in this skill

  • SKILL.md1.7 KB
  • references/troubleshooting.md2 KB
  • references/workflows.md2.4 KB
  • scripts/check_data_layout.py5.7 KB
  • scripts/run_training.py1.6 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.