Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

model-architectures

БесплатноБез исполняемых скриптовНе проверен

Instantiate, inspect, and debug fastMRI reconstruction model architectures safely.

lza6от lza6★ 19 звёзд на GitHub

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

fastMRI Model Architectures

Use this sub-skill when an agent needs to choose, instantiate, inspect, smoke-test, or debug fastMRI reconstruction models without entering dataset loading, Lightning training loops, or metric/submission handling.

Route

  • Use raw torch.nn.Module classes from fastmri.models here: Unet, NormUnet, VarNet, AdaptiveVarNet, and policy/acquisition modules such as LOUPEPolicy.
  • Use Unet for image-domain baseline reconstruction checks; use VarNet for multicoil k-space reconstruction with sensitivity-map estimation and cascaded data consistency.
  • Use NormUnet as the complex-valued normalized U-Net block inside VarNet-style models, not as a drop-in replacement for image-domain Unet inputs.
  • Treat AdaptiveVarNet, LOUPEPolicy, and feature/adaptive example families as advanced/experimental paths with version and environment caveats.
  • For SliceDataset, masks, and data transforms, hand off to data-loading; for UnetModule, VarNetModule, training, validation, and test loops, hand off to lightning-training.

Bundled Guides

  • Read the model reference to get exact constructor signatures, input/output shapes, model-selection guidance, TorchScript evidence, and mask/low-frequency handling.
  • Read the offline pretrained inference guide when adapting pretrained U-Net or VarNet inference while requiring a user-supplied local state_dict and avoiding hidden downloads.
  • Read the troubleshooting guide when diagnosing mask dtype/shape errors, pooling/crop failures, checkpoint mismatches, CUDA defaults, or adaptive/feature VarNet caveats.
  • Run the smoke shape script to perform tiny CPU-only U-Net, NormUnet, VarNet, AdaptiveVarNet, and LOUPEPolicy instantiation/shape checks before touching real HDF5 data.

Safe Defaults

  • Start with python scripts/smoke_model_shapes.py --model all --device cpu from a copy or working directory where fastmri and torch are importable.
  • Keep pretrained inference offline by requiring --state_dict_file or equivalent local checkpoint input; do not silently download model weights.
  • Prefer explicit num_low_frequencies for VarNet smoke/debug runs when the mask's dense center region is known.
  • Use exact mask class names when routing data questions: EquiSpacedMaskFunc and EquispacedMaskFractionFunc are distinct names in fastMRI.
Полный SKILL.md на GitHub

Установить model-architectures в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/model-reference.mdreferences/pretrained-inference.mdreferences/troubleshooting.md

FAQ

Что делает скилл model-architectures?

Instantiate, inspect, and debug fastMRI reconstruction model architectures safely.

Как установить скилл model-architectures?

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

Скилл model-architectures запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить model-architectures с