Training and evaluation

From VectorSpaceLab/AREX-Skill · View interactive version

Training and evaluation is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Route BiRefNet training launches, resume semantics, evaluation metrics, and best-checkpoint selection.

How to use this skill

Skill file

training-and-evaluation

Use this sub-skill for BiRefNet fine-tuning, epoch scheduling, checkpoint loading/saving, metric evaluation, and best-epoch selection.

Handles

Use the bundled script

Read next

Recommended operating flow

  1. Validate dataset layout and task/testset names with ../configuration-and-data/SKILL.md before building a training or evaluation command.
  2. Confirm backbone/weight compatibility with ../model-architecture/SKILL.md; wrong config.bb often appears as a checkpoint tensor-size error.
  3. For fine-tuning, compute total epochs from the checkpoint filename epoch plus the desired additional epochs because train.py resumes at filename epoch + 1.
  4. Treat full training as GPU/data/weight/budget dependent; use this sub-skill to plan commands and only execute after explicit user approval.
  5. Before evaluating real predictions, run scripts/birefnet_metric_smoke.py to confirm metric dependencies and evaluator wiring.

Done criteria

Route out

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.