跳到正文
cccskills
免费在 GitHub 公开

fastmri

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

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(32)

  • SKILL.md5.1 KB
  • references/package-overview.md2.7 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json420 B
  • references/troubleshooting.md4.1 KB
  • scripts/check_fastmri_environment.py2.5 KB
  • sub-skills/data-loading/references/api-reference.md7.5 KB
  • sub-skills/data-loading/references/data-formats.md4.1 KB
  • sub-skills/data-loading/references/troubleshooting.md6.8 KB
  • sub-skills/data-loading/scripts/create_tiny_fastmri_h5.py4.1 KB
  • sub-skills/data-loading/scripts/inspect_fastmri_h5.py6.6 KB
  • sub-skills/data-loading/SKILL.md3.3 KB
  • sub-skills/evaluation-submission/references/evaluation-reference.md3.8 KB
  • sub-skills/evaluation-submission/references/submission-workflows.md4.1 KB
  • sub-skills/evaluation-submission/references/troubleshooting.md3.6 KB
  • sub-skills/evaluation-submission/scripts/validate_reconstructions.py5.7 KB
  • sub-skills/evaluation-submission/scripts/zero_filled_reconstruction.py2.9 KB
  • sub-skills/evaluation-submission/SKILL.md3.1 KB
  • sub-skills/lightning-training/references/api-reference.md8.3 KB
  • sub-skills/lightning-training/references/training-workflows.md7.7 KB
  • sub-skills/lightning-training/references/troubleshooting.md7.9 KB
  • sub-skills/lightning-training/scripts/build_training_command.py7.1 KB
  • sub-skills/lightning-training/SKILL.md2.7 KB
  • sub-skills/model-architectures/references/model-reference.md7.3 KB
  • sub-skills/model-architectures/references/pretrained-inference.md4.3 KB
  • sub-skills/model-architectures/references/troubleshooting.md5.7 KB
  • sub-skills/model-architectures/scripts/smoke_model_shapes.py8.4 KB
  • sub-skills/model-architectures/SKILL.md2.7 KB
  • sub-skills/mri-operators/references/api-reference.md6.5 KB
  • sub-skills/mri-operators/references/troubleshooting.md6.0 KB
  • sub-skills/mri-operators/scripts/smoke_mri_ops.py3.2 KB
  • sub-skills/mri-operators/SKILL.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 intentRead
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 dependencies.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3392026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题