协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
training-testing【开发与工程】Plan and validate MMDetection 3.3.0 training, resume, testing, evaluation, result dumping, and distributed or Slurm launch commands from configs without running them.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves launching or planning tools/train.py, tools/test.py, dist_train.sh, dist_test.sh, Slurm wrappers, resume behavior, work_dir outputs, command-line config overrides, --auto-scale-lr, CPU debugging, or result dumping.
auto_scale_lr fields, model zoo checkpoint choice, and config edits: use configuration-model-zoo first, then return here for launch commands.datasets-evaluation first.customization-extension first.ModuleNotFoundError: mmcv._ext: ensure full mmcv is installed instead of mmcv-lite; then return here.work_dir, and any --cfg-options overrides.python sub-skills/training-testing/scripts/build_train_test_command.py train CONFIG.py --work-dir work_dirs/EXP --auto-scale-lr
python sub-skills/training-testing/scripts/build_train_test_command.py test CONFIG.py CHECKPOINT.pth --gpus 8 --out results.pkl
python tools/train.py CONFIG.py --work-dir work_dirs/EXP [--resume [CKPT]] [--auto-scale-lr] [--cfg-options key=value ...].CUDA_VISIBLE_DEVICES=-1 python tools/train.py CONFIG.py --work-dir work_dirs/debug ...; expect very slow execution.CUDA_VISIBLE_DEVICES=0,1,2,3 PORT=29500 bash tools/dist_train.sh CONFIG.py 4 ....GPUS=8 GPUS_PER_NODE=8 bash tools/slurm_train.sh PARTITION JOB CONFIG.py WORK_DIR ....python tools/test.py CONFIG.py CHECKPOINT.pth [--work-dir WORK_DIR] [--out results.pkl] [--show-dir DIR] [--tta].PORT=29500 bash tools/dist_test.sh CONFIG.py CHECKPOINT.pth GPUS [--out results.pkl] ....Always explain that shell wrappers are patterns tied to the user's checkout and cluster, while this skill's script only prints commands and validates arguments.