Command Palette

Search for a command to run...

Назад к скиллам
скилл № 30147

tao-validate-recipe-transfer

Port a published computer vision paper's official code and training recipe onto a customer's own dataset, or diagnose why such a transfer produced bad…

БесплатноЗапускает вложенные скрипты
nvidiaот nvidia829 установок в других каталогах

Установить tao-validate-recipe-transfer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

CV Recipe Transfer

Port published CV work onto customer data without inheriting the silent bugs that make
the resulting numbers meaningless.

The core idea

This work splits into two phases with fundamentally different epistemic status:

  • Phase A (Port) — get the official code running faithfully. There is external ground
    truth here: the authors' released checkpoint and reported number.
  • Phase B (Transfer) — move the recipe onto customer data. There is no external
    ground truth. The paper's number stops being meaningful the moment the dataset changes.

Everything verifiable must be verified in Phase A, because the safety net disappears at the
boundary. Once you are in Phase B, an implementation bug and a genuine domain mismatch
produce identical symptoms: a mediocre number with a clean-looking loss curve.

Two consequences that drive everything below:

  1. Never skip the Phase A gate to "save time." It costs hours and it is the only thing that
    licenses trust in every number that follows.
  2. Stop treating the paper's number as the target once the dataset changes. The target is
    beat the strongest cheap baseline on the customer's own test set, measured at a
    deliberately chosen operating point.

Mode selection

Read the request and pick a mode. Say which one you picked and why.

Post-mortem mode — a run already happened and the result was wrong, disappointing, or
suspiciously good. Go to references/postmortem.md. Do not start by rerunning anything.
Walk the checks in likelihood order and find the gate that was skipped.

Forward mode — no run yet, or starting over. Work Phase 0 → A → G → T → R → E below.

Audit mode — a pipeline exists and works, someone wants it checked before it goes to a
customer. Run the Phase A gate and the Phase G report against the existing artifacts, then
the parity and leakage scripts. Skip the porting work.

If the request is ambiguous, ask which of the three it is before doing anything expensive.


Phase 0 — Feasibility gate

Cheap, and it prevents the most expensive class of mistake. Do this before reading any code.

Ask and answer, in writing:

  1. Does this need training at all? Zero-shot and promptable models cover a lot of what
    used to require a fine-tune — Grounding DINO, SAM-family, OWL-ViT, CLIP, and plain
    pretrained COCO detectors. If the customer's classes overlap COCO/LVIS vocabulary, or the
    task is "find the obvious object," measure a pretrained baseline first. A surprising
    fraction of three-week fine-tuning projects are answered by an afternoon of prompting.
  2. Is this the right paper? Papers get picked by benchmark rank, but rank on COCO
    predicts very little about performance on 800 images of factory parts. Check that the
    paper's benchmark resembles the customer's data on the axes in Phase G.
  3. License. Research-only, non-commercial, and AGPL clauses are common in CV repos and
    this is customer-facing work. Check the repo license, the weights license (often
    different from the code), and the license of any pretrained backbone. This is a hard gate
    — flag it now, not after three weeks of work.
  4. Is there enough labeled data, and does a test set exist that reflects production? If
    the only data is a random export, the test set will be optimistic no matter what you do.

Record the answers. If the feasibility gate fails, say so plainly and stop — that is a
successful outcome of this skill, not a failure.


Phase A — Port

Goal: prove the code, the data pipeline, the preprocessing, and the metric implementation
are all faithful. Read references/port-gate.md for the detailed procedure.

The gate, in short:

  1. Pin the commit. Repos drift and released code routinely differs from the paper. Pin
    the hash. Then read the repo's issue threads — undocumented hyperparameters, known
    discrepancies with the paper, and "why can't I reproduce Table 2" live there. Assume the
    code and the paper disagree somewhere until proven otherwise.
  2. Build the environment. Custom CUDA ops (deformable attention, DCN, custom NMS) in
    older research repos are the single biggest time sink specific to CV. Detect them early
    and containerize. Do not fight the host toolchain.
  3. THE GATE: run their checkpoint through their eval on their benchmark and match the
    reported number.
    This single check validates environment, data pipeline, preprocessing,
    and metric implementation without training anything. Hours, not days.
    • Match within ~0.2 points: pass.
    • Off by 0.5–2 points: something in preprocessing or eval config is wrong. Do not proceed.
    • Off by a lot: wrong checkpoint, wrong class mapping, or a silently partial state-dict
      load. See the failure atlas.
  4. Validate the training path with a short run on a benchmark subset. You are checking
    loss-curve shape and that it descends as expected, not the final number.
  5. **Scan for hardcoded benchmark
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Read
  2. 02Bash
  3. 03Write

FAQ

Что делает скилл tao-validate-recipe-transfer?

Port a published computer vision paper's official code and training recipe onto a customer's own dataset, or diagnose why such a transfer produced bad numbers. Use this whenever someone wants to reproduce a CV paper, run a paper's repo on their own images, fine-tune a published detection/segmentation/classification/keypoint model on customer data, adapt a training recipe to a new dataset, or figure out why a fine-tuned vision model scores well on validation but fails in production. Also use for post-mortems on any failed or disappointing CV training run, and whenever a user mentions mAP that looks too good, a model that "worked in training but not in deployment", or transferring hyperparameters from a paper to their own data. Trigger even if the user only says "train a model on my dataset" and a published architecture or repo is involved.

Как установить скилл tao-validate-recipe-transfer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл tao-validate-recipe-transfer запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить tao-validate-recipe-transfer с