技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
lightning-training【数据与研究】Build fastMRI PyTorch Lightning training and test workflows with FastMriDataModule, UnetModule, VarNetModule, masks, transforms, checkpoints, and CPU-safe debug commands.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when an agent needs to train, debug, resume, or test fastMRI UnetModule or VarNetModule workflows with PyTorch Lightning. Keep raw HDF5 layout and split details in data-loading, raw model constructor details in model-architectures, and final metric/submission packaging in evaluation-submission.
FastMriDataModule, UnetModule, VarNetModule, mask, transform, checkpoint, or test-output APIs.combine_train_val runs.UnetModule with UnetDataTransform for baseline image-domain training on singlecoil or multicoil challenge data.VarNetModule with VarNetDataTransform for multicoil end-to-end variational network training; keep VarNet challenge as multicoil unless the surrounding code has explicitly implemented a different path.create_mask_for_mask_type with random for the classic knee U-Net demo and equispaced_fraction for brain/multicoil-style and VarNet workflows; exact mask classes include EquiSpacedMaskFunc and EquispacedMaskFractionFunc.distributed_sampler=True so validation/test volumes dispatch coherently, and let worker seeding handle mask_func randomness per worker/rank.fast_dev_run or one-batch debug path instead of copying demo GPU/DDP defaults.combine_train_val=True only after validation choices are intentional, then test with explicit test_path or test_split and save reconstructions under the Lightning default_root_dir.