技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
fastmri【数据与研究】Use fastMRI for MRI reconstruction data loading, MRI operators, reconstruction models, Lightning training, evaluation, and submission preparation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
fastmri; for data/model workflows also confirm torch, h5py, pytorch_lightning, torchmetrics, and requests if fastmri.data is imported.| 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 |
repo-skills-router import.fastmri.data also imports requests; install requests if ModuleNotFoundError: requests appears.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.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 dependencies.