技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
minivit【数据与研究】Routes MiniViT Mini-DeiT and Mini-Swin compression, distillation, command-construction, dataset-layout, and optional RPE/custom-op workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user asks about MiniViT workflows for Mini-DeiT or Mini-Swin: model/variant selection, ImageNet layout validation, MiniViT weight multiplexing, distillation command construction, evaluation command construction, 224-to-384 Mini-Swin finetuning, or optional RPE/custom-op status.
| User task | Read/run |
|---|---|
| Build a Mini-DeiT or Mini-Swin command template | scripts/build_minivit_command.py, then references/command-reference.md |
| Choose a model variant, YAML config, or checkpoint family | references/api-reference.md and references/command-reference.md |
| Validate ImageNet folders or tar archives | references/workflows.md and root scripts/check_dataset_layout.py |
Diagnose teacher checkpoints, rpe_ops, Mini-Swin configs, Apex, or layer-list mismatches | references/troubleshooting.md |
Confirm whether the user means Mini-DeiT or Mini-Swin. Generic iRPE integration belongs to the irpe sub-skill; TinyViT and EfficientViT belong to their own sub-skills.
Validate the ImageNet root before constructing expensive launchers:
python ../../scripts/check_dataset_layout.py --root /path/to/ImageNet --kind imagenet1k
Generate, review, and edit a command template instead of improvising distributed flags:
python scripts/build_minivit_command.py --workflow mini-swin-train --variant tiny --data-path /path/to/ImageNet --output /path/to/output --teacher /path/to/teacher.pth --amp-opt-level O0
Treat printed commands as templates. The helper never starts distributed training, downloads data, or writes checkpoints; commands printed by the helper may do those things if the user later runs them.
timm installed.mini_deit_tiny_patch16_224 CPU instantiation is safe and was verified in the inspection environment.--cfg is safe; full Mini-Swin training/evaluation requires CUDA, DistributedDataParallel, and NCCL setup.