Metrics

From VectorSpaceLab/AREX-Skill · View interactive version

Metrics is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Prepare and route safe ALAE FID, reconstruction FID, PPL, and LPIPS metric workflows.

How to use this skill

Skill file

ALAE metrics

Use this sub-skill when a user asks how to evaluate ALAE/StyleALAE with FID, reconstruction FID, PPL, or LPIPS, or when they need to decide whether a legacy metric run is ready, too expensive, or blocked by dependencies.

Routing contract

Non-negotiable safety notes

Default operating sequence

  1. Confirm the user has a checkout root and intends to run an expensive optional metric, not just inspect readiness.
  2. From the ALAE repository root, ensure PYTHONPATH includes the checkout root before running native repository scripts.
  3. From this sub-skill directory (or by using the generated skill's script path), run the safe stack checker with an explicit config name or path, for example python scripts/check_metrics_stack.py --repo-root <ALAE-checkout> --config ffhq.
  4. If the checker reports missing TensorFlow 1.x APIs, dnnlib, metric pickle files, a checkpoint pointer, CUDA visibility, or required TFRecords, resolve those first through the routed sub-skills.
  5. Only then present the native metric command and its expected output file or stdout result from references/metrics-workflows.md.
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.