lightning-training
БесплатноБез исполняемых скриптовНе проверенBuild fastMRI PyTorch Lightning training and test workflows with FastMriDataModule, UnetModule, VarNetModule, masks, transforms, checkpoints, and CPU-safe…
от lza6★ 19 звёзд на GitHubОб этом скилле
fastMRI Lightning Training
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.
Start Here
- Use references/training-workflows.md when writing an end-to-end train/test script, adapting a U-Net or VarNet demo, choosing CPU fast-dev settings, or preserving DDP volume dispatch.
- Use references/api-reference.md when wiring exact
FastMriDataModule,UnetModule,VarNetModule, mask, transform, checkpoint, or test-output APIs. - Use references/troubleshooting.md when diagnosing Lightning version drift, missing directory config, CPU-only runs, mask/challenge mismatches, sample-rate conflicts, cache/import failures, checkpoint resume, or reconstruction paths.
- Use scripts/build_training_command.py to render explicit, source-independent command guidance for U-Net or VarNet training, test, CPU debug, DDP, and leaderboard-style
combine_train_valruns.
Routing Rules
- Prefer
UnetModulewithUnetDataTransformfor baseline image-domain training on singlecoil or multicoil challenge data. - Prefer
VarNetModulewithVarNetDataTransformfor multicoil end-to-end variational network training; keep VarNet challenge asmulticoilunless the surrounding code has explicitly implemented a different path. - Use
create_mask_for_mask_typewithrandomfor the classic knee U-Net demo andequispaced_fractionfor brain/multicoil-style and VarNet workflows; exact mask classes includeEquiSpacedMaskFuncandEquispacedMaskFractionFunc. - For DDP, set the data module
distributed_sampler=Trueso validation/test volumes dispatch coherently, and let worker seeding handlemask_funcrandomness per worker/rank. - For CPU-only or quick verification, render a one-device
fast_dev_runor one-batch debug path instead of copying demo GPU/DDP defaults. - For leaderboard-style training, use
combine_train_val=Trueonly after validation choices are intentional, then test with explicittest_pathortest_splitand save reconstructions under the Lightningdefault_root_dir.
Установить lightning-training в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lightning-training?
Build fastMRI PyTorch Lightning training and test workflows with FastMriDataModule, UnetModule, VarNetModule, masks, transforms, checkpoints, and CPU-safe debug commands.
Как установить скилл lightning-training?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lightning-training запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic