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. Use for Anomalib's Engine fit/train/test/validate flow, metrics, callbacks, preprocessing, postprocessing, loggers, visualization, and training-mode guidance while keeping CLI and deployment internals out of scope.

How to use this skill

Skill file

Training and Evaluation

Use this sub-skill when the user needs to configure, explain, or debug Anomalib's training/evaluation loop, metric collection, callback order, preprocessing/postprocessing, experiment logging, or visualization.

Read first

Safe operating boundary

Owns the core training/evaluation surface under:

Covers:

Excludes:

Treat optional logger packages and GPU-only device checks as non-blocking.

Quick routing

| User need | Do this |

| --- | --- |

| "How do I wire training, validation, and test?" | Read references/engine-and-metrics.md. |

| "Why do my callbacks or loggers behave strangely?" | Read references/callbacks-and-logging.md. |

| "Why are metrics missing, duplicated, or empty?" | Read references/troubleshooting.md. |

| "Can I run a CPU-only smoke for barebones mode?" | Run scripts/training-modes.py. |

| "Can I sanity-check metrics, preprocessing, postprocessing, and visualization?" | Run scripts/evaluation-smoke.py. |

Operating notes

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.