인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

data-loading

data-loading

Load and inspect fastMRI HDF5 data, datasets, masks, transforms, and data sampling controls.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: data-loading description: "Load and inspect fastMRI HDF5 data, datasets, masks, transforms, and data sampling controls." disable-model-invocation: true metadata: disco-role: operating license: MIT

fastMRI Data Loading

Use this sub-skill when the task is about reading fastMRI HDF5 files, validating split/key layout, constructing SliceDataset, CombinedSliceDataset, or AnnotatedSliceDataset, choosing mask functions, applying UnetDataTransform or VarNetDataTransform, or debugging dataset sampling/cache behavior.

Route Here

  • The user has knee or brain fastMRI .h5 data and needs to identify whether it is singlecoil or multicoil, train/val/test/challenge, or missing target reconstructions.
  • The user needs Python objects such as SliceDataset, CombinedSliceDataset, AnnotatedSliceDataset, RandomMaskFunc, EquiSpacedMaskFunc, EquispacedMaskFractionFunc, UnetDataTransform, or VarNetDataTransform.
  • The user sees loader errors involving challenge, sample_rate, volume_sample_rate, dataset_cache.pkl, HDF5 keys, or ismrmrd_header metadata.
  • The user wants safe inspection or tiny synthetic fastMRI-like HDF5 fixtures before training, inference, or submission work.

Use These Files

Boundary Routing

  • For FFT, complex tensor conventions, rss, crop math, or operator shape debugging, route to mri-operators.
  • For FastMriDataModule, dataloaders, Lightning trainers, DDP samplers, and full training loops, route to lightning-training.
  • For saved reconstructions, file metrics, leaderboard-style outputs, or submission HDF5 files, route to evaluation-submission.

Quick Decision Path

  1. Inspect one or more .h5 files with scripts/inspect_fastmri_h5.py and confirm kspace, optional mask, optional reconstruction target, attrs, and ismrmrd_header crop metadata.
  2. Choose challenge="singlecoil" for single-coil knee data or challenge="multicoil" for multicoil knee/brain data; invalid challenge names raise a ValueError.
  3. Use SliceDataset for one split, CombinedSliceDataset for multiple roots, or AnnotatedSliceDataset when fastMRI+ annotations are needed.
  4. Use either slice sampling (sample_rate) or volume sampling (volume_sample_rate), never both; use raw_sample_filter and num_cols for metadata/shape filtering.
  5. Choose a mask with create_mask_for_mask_type, then pass it to UnetDataTransform or VarNetDataTransform only when synthetic undersampling is needed.
저장한 Skills