Skip to content
Back to skills

Training Evaluation

ASecurity

"Routes 3DDFA training recipes, loss selection, checkpoint resume,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
toolspythonc++shell

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Training Evaluation?

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

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

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-evaluation
description: "Routes 3DDFA training recipes, loss selection, checkpoint resume,
  dataset layout, and benchmark evaluation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# training-evaluation

Use this sub-skill when you need to train 3DDFA, adapt a loss recipe, validate the training data layout, resume from a checkpoint, or interpret AFLW / AFLW2000 benchmark results.

## Use this route for

- `train.py` command setup and the bundled `training/*.sh` recipes.
- Choosing between WPDC, VDC, and PDC.
- Checking filelists, param files, and the expected cropped-image layout.
- Understanding checkpoint naming and resume behavior.
- Running or interpreting `benchmark.py`, `benchmark_aflw.py`, and `benchmark_aflw2000.py`.

## Do not use this route for

- Inference-only or demo flows; use the python-inference route instead.
- Geometry rendering / visualization outputs; use the geometry-rendering route instead.
- ONNX or C++ export; use the cpp-onnx-port route instead.

## Read first

- `references/training-and-losses.md`
- `references/data-layout.md`
- `references/evaluation-benchmarks.md`
- `references/troubleshooting.md`

## Skill-owned script

- `scripts/validate_training_args.py` — safe checker for training command templates, filelists, param paths, and GPU device ids.

## Operating notes

- Native training is CUDA-centric: `train.py` calls `torch.cuda.set_device(...)` and wraps the model with `nn.DataParallel(...).cuda()`.
- The shipped loss modules import in a CPU-only Python environment, but their forward paths still expect CUDA tensors.
- `--resume` restores the model state dict only; optimizer state is not bundled in the saved checkpoints.
- The bundled shell recipes are templates. Adjust `--root`, filelists, param paths, and `--devices-id` to your local layout before running.
- If you already have predicted params, use the benchmark helper flow described in the benchmark reference rather than re-running inference.

## Cross-links

- For training command validation, run the skill-owned script.
- For benchmark data requirements and NME meaning, read the evaluation reference.

Files in this skill

  • SKILL.md2.1 KB
  • references/data-layout.md2.7 KB
  • references/evaluation-benchmarks.md2.9 KB
  • references/training-and-losses.md3.8 KB
  • references/troubleshooting.md2.8 KB
  • scripts/validate_training_args.py14.2 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.