Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
config-customization【部署与运维】Choose, customize, and validate MMYOLO model-family configs without running training, testing, deployment, or dataset conversion.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to choose an MMYOLO configuration, understand MMEngine inheritance, edit model/dataset/runtime fields, apply safe --cfg-options, or preflight a config before handing it to training, testing, inference, or deployment workflows.
_base_ inheritance, one-class COCO-style fine-tuning edits, num_classes, dataloaders, evaluators, hooks, schedulers, --cfg-options, TTA, and batch_shapes_cfg caveats.scripts/print_mmyolo_config_summary.py against a user-provided config to print a model/dataloader/runtime/TTA summary without training or building a runner.This sub-skill owns:
model-index.yml and family metafile.yml selection signals distilled into model-family guidance._base_ inheritance, _delete_=True, inherited variable reuse, intermediate-variable rebinding, and config filename interpretation.model, train_dataloader, val_dataloader, test_dataloader, val_evaluator, test_evaluator, train_cfg, default_hooks, custom_hooks, optim_wrapper, param_scheduler, load_from, resume, visualizer, log_processor, and env_cfg.metainfo keys, classes, palette, num_classes, evaluator annotation files, batch size/workers, validation/checkpoint/logger intervals, and scheduler adjustments.tta_model, tta_pipeline, and the batch_shapes_cfg incompatibility handled by MMYOLO test logic.Route elsewhere:
training-evaluation.data-tools.model-api.deployment-conversion.--cfg-options only for scalar, simple dict, or simple list changes; prefer a child config for dataset, pipeline, model-head, scheduler, hook, or TTA edits.num_classes, metainfo, annotation paths, dataloader batch size/workers, evaluator files, epoch/interval settings, and TTA readiness.