Skip to content
Back to skills

Bapps Training

ASecurity

"Routes BAPPS training, fine-tuning, checkpointing, and smoke-test

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Bapps Training?

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

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

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: bapps-training
description: "Routes BAPPS training, fine-tuning, checkpointing, and smoke-test
  workflows for the PerceptualSimilarity package."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 2-Clause
---

# BAPPS Training

Use this sub-skill when the task is about training or fine-tuning the LPIPS metric on BAPPS-style 2AFC data.

## Trigger phrases

- "train LPIPS"
- "fine-tune on BAPPS"
- "run the scratch variant"
- "run the tune variant"
- "smoke-test the training path"
- "save checkpoints"

## What this route covers

- LPIPS/BAPPS ranking-loss training.
- Checkpoint directory creation and file naming.
- Smoke-friendly one-step or one-epoch runs.
- Scratch and trunk-tuning modes.
- Training-specific troubleshooting.

## What this route excludes

- Direct image-pair comparison.
- Benchmark scoring only.
- Dataset-download automation.

If the task is only about scoring a split, route to `bapps-evaluation`. If the task is about direct LPIPS distances or LPIPS loss visualization, route to `metric-usage`.

## Read these next

- `references/workflows.md` for the training command matrix.
- `references/troubleshooting.md` for checkpoint, dependency, and runtime issues.
- `../../references/bapps-dataset.md` for the expected split layout.
- `../../references/api-reference.md` for the verified `Trainer` API.

## Run these helpers

- `scripts/train_bapps.py` for the bundled training loop.
- `scripts/train_test_metric.sh` for the standard train-then-score wrapper.
- `scripts/train_test_metric_scratch.sh` for the scratch variant.
- `scripts/train_test_metric_tune.sh` for the trunk-tune variant.
- `../../scripts/make_tiny_bapps_fixture.py` to create a tiny BAPPS-style smoke fixture.

## Working assumptions

- Training uses 2AFC splits with `ref/`, `p0/`, `p1/`, and `judge/`.
- The bundled helper creates the checkpoint directory automatically.
- The bundled helper avoids the old HTML/visdom stack used by the stock `train.py`.
- The smoke default is intentionally bounded so it is safe to run on small fixtures.

Files in this skill

  • SKILL.md2 KB
  • references/troubleshooting.md1.9 KB
  • references/workflows.md2.2 KB
  • scripts/train_bapps.py5.8 KB
  • scripts/train_test_metric.sh2.3 KB
  • scripts/train_test_metric_scratch.sh237 B
  • scripts/train_test_metric_tune.sh211 B

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.