Command Palette

Search for a command to run...

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

fastmri

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

Use fastMRI for MRI reconstruction data loading, MRI operators, reconstruction models, Lightning training, evaluation, and submission preparation.

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

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

fastMRI

Use this repo skill when a task involves the fastmri Python package, fastMRI HDF5 k-space data, MRI reconstruction baselines, U-Net/VarNet models, PyTorch Lightning training, or fastMRI metric/submission-style outputs.

This skill targets the packaged fastmri library and selected self-contained workflows distilled from the repository examples. It assumes the user provides local fastMRI-style HDF5 data, checkpoints, and any optional external tools; it does not download datasets, model weights, or BART automatically.

Start Here

  1. Confirm the active Python can import fastmri; for data/model workflows also confirm torch, h5py, pytorch_lightning, torchmetrics, and requests if fastmri.data is imported.
  2. Identify the task family from the route table below, then open the matching sub-skill before writing code or commands.
  3. Keep original fastMRI data/checkpoints outside the skill; use bundled scripts only as helpers and generate user outputs in user-specified locations.
  4. Prefer CPU-safe smoke checks and tiny fixtures before long training, GPU inference, external downloads, or leaderboard packaging.

Sub-Skill Routes

User intent Read
Inspect .h5 keys, choose singlecoil vs multicoil, build SliceDataset/CombinedSliceDataset, configure masks/transforms, or debug cache/sample-rate issues. data-loading
Use complex tensor conventions, centered FFT/IFFT, rss, crop/normalization helpers, SSIMLoss, or array metric shape checks. mri-operators
Instantiate/debug U-Net, VarNet, NormUnet, AdaptiveVarNet, LOUPE/policy modules, tiny model shape checks, or offline pretrained inference. model-architectures
Build PyTorch Lightning train/test workflows with FastMriDataModule, UnetModule, VarNetModule, checkpoints, CPU fast-dev, DDP, or combine_train_val. lightning-training
Save reconstructions, validate prediction HDF5 files, compute MSE/NMSE/PSNR/SSIM, build zero-filled baselines, convert v2 filenames, or prepare submission outputs. evaluation-submission

Shared References and Scripts

  • Package overview summarizes package scope, installed dependency facts, selected examples, and advanced/example-only branches.
  • Troubleshooting covers cross-cutting install/import, optional dependency, data, backend, and workflow failure modes.
  • Repo provenance records the source commit, package version, dirty-state baseline, and evidence paths used to create this skill.
  • Routing metadata provides structured scenario placement for managed repo-skills-router import.
  • Environment check script prints a JSON import/backend/dependency summary for the active Python environment.

Common Task Patterns

Important Caveats

  • The package metadata declares core dependencies but this checkout's fastmri.data also imports requests; install requests if ModuleNotFoundError: requests appears.
  • The README notes a historical h5py/HDF5 memory leak concern for tensor conversion; if users see memory growth during large HDF5 reads, prefer a conda h5py build with an older compatible HDF5 as described in the package docs.
  • The repository examples often assume GPU/DDP defaults, repo-local fastmri_dirs.yaml, public checkpoint downloads, or separate pinned environments. The skill distills those workflows into explicit-path, offline-safe guidance instead of depending on original example files.
  • banding_removal/, BART compressed sensing, adaptive VarNet, feature VarNet, RadiologyJohnson2022, notebooks, annotation visualization, external prostate data/code, and raw data manifests are reference or advanced evidence unless a user explicitly asks for those areas and accepts their extra dependencie
Полный SKILL.md на GitHub

Установить fastmri в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/package-overview.mdreferences/repo-provenance.mdreferences/repo-routing-metadata.jsonreferences/troubleshooting.mdsub-skills/data-loading/SKILL.mdsub-skills/data-loading/references/api-reference.mdsub-skills/data-loading/references/data-formats.mdsub-skills/data-loading/references/troubleshooting.mdsub-skills/evaluation-submission/SKILL.mdsub-skills/evaluation-submission/references/evaluation-reference.mdsub-skills/evaluation-submission/references/submission-workflows.mdsub-skills/evaluation-submission/references/troubleshooting.mdsub-skills/lightning-training/SKILL.mdsub-skills/lightning-training/references/api-reference.mdsub-skills/lightning-training/references/training-workflows.mdsub-skills/lightning-training/references/troubleshooting.mdsub-skills/model-architectures/SKILL.mdsub-skills/model-architectures/references/model-reference.mdsub-skills/model-architectures/references/pretrained-inference.mdsub-skills/model-architectures/references/troubleshooting.mdsub-skills/mri-operators/SKILL.mdsub-skills/mri-operators/references/api-reference.mdsub-skills/mri-operators/references/troubleshooting.md

FAQ

Что делает скилл fastmri?

Use fastMRI for MRI reconstruction data loading, MRI operators, reconstruction models, Lightning training, evaluation, and submission preparation.

Как установить скилл fastmri?

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

Скилл fastmri запускает скрипты?

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

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

Сравнить fastmri с