Skip to content
Back to skills

Training

ASecurity

"Guides config-driven PyTorch-VAE training, dry-runs, data layout

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

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 --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-4b8a5dd7/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-4b8a5dd7)

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: "Guides config-driven PyTorch-VAE training, dry-runs, data layout
  checks, and experiment troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Training

Use this sub-skill when the user wants to run, dry-run, resume, or debug a PyTorch-VAE experiment from a YAML config.
It covers the generic runner pattern, CelebA-style data setup, logger/checkpoint output, and trainer knobs.
The bundled command examples assume the generated skill directory is the current working directory.

## Read first

- `references/workflows.md` for the end-to-end experiment flow.
- `references/configuration.md` for the config schema and model-specific fields.
- `references/troubleshooting.md` for data, trainer, and legacy-config failures.
- `scripts/train_from_config.py` for the bundled safe wrapper.

## Include here

- Choosing the right `configs/*.yaml` file for a model.
- Understanding `model_params`, `data_params`, `exp_params`, `trainer_params`, and `logging_params`.
- Verifying CelebA extraction paths and sample output locations.
- Dry-running a config before a full `fit`.
- Full training runs when the user explicitly wants them.
- Trainer settings that affect GPUs, checkpointing, logging, or seeds.
- Special training knobs such as FactorVAE's dual optimizer or legacy VampVAE config handling.

## Exclude or route elsewhere

- Constructor signatures, sample/generate behavior, and architecture selection -> `sub-skills/model-reference/SKILL.md`.
- Low-level architecture comparisons -> `references/model-overview.md` or model-reference.
- Repository provenance and staleness checks -> `references/repo-provenance.md`.

## Typical triggers

- "train VAE"
- "run this config"
- "why does the trainer fail"
- "where are logs/checkpoints saved"
- "how do I point it at CelebA"
- "why is `gpus` failing"
- "how do I dry-run the experiment before a long fit"

## Workflow

1. Pick the config that matches the target model family.
2. Confirm the data layout and `data_path`.
3. Run the bundled training wrapper without `--fit` for a safe validation pass.
4. Add `--fit` only after the config, data, and backend are ready.
5. Inspect logs under `logs/<experiment-name>/version_*` and checkpoints under the logger's `checkpoints/` directory.

## Hand off to model-reference when needed

If the user switches from "run the experiment" to "what arguments does the model take" or "what does `sample()` expect", route to the model-reference sub-skill.

Files in this skill

  • SKILL.md2.5 KB
  • references/configuration.md2.4 KB
  • references/troubleshooting.md2.2 KB
  • references/workflows.md2 KB
  • scripts/train_from_config.py7.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.