计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
training-evaluation-scripts【效率与协作】Construct safe GluonCV training, evaluation, demo, and benchmark flag templates from the script zoo without executing source checkout scripts.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks for GluonCV training, evaluation, demo, feature extraction, benchmarking, DDP/Horovod/DALI usage, or command-line flags for the script zoo: CIFAR/ImageNet classification, SSD/YOLO/Faster R-CNN/CenterNet/Mask R-CNN detection, segmentation, pose, action recognition, Monodepth2, SiamRPN/SMOT tracking, GAN, Re-ID, dataset preparation, or AutoGluon example commands.
This sub-skill turns the repository's script families into self-contained, non-executable flag templates and checklists. Treat original programs as evidence for flag shape, not as runtime files this skill depends on.
Stay here for:
--model, --network, --dataset, --dataset-root, --data-dir, --gpus, --num-gpus, --batch-size, --num-workers, --epochs, --resume, --pretrained, --deploy, --quantized, and --config-file.Route elsewhere when the user needs deeper API or data details:
get_model, reset_class, and inference API details: ../mxnet-model-zoo/../data-transforms-datasets/../torch-video-workflows/../automl-deployment-export/Identify the task family and backend: MXNet script-style workflow, Torch action-recognition config workflow, AutoGluon example, deployment/export, or dataset preparation.
Read references/script-catalog.md to classify source families as adapted, reference-only, or excluded.
Use scripts/build_training_command.py to generate a no-side-effect flag template:
python scripts/build_training_command.py detection-yolo \
--dataset voc --dataset-root /data/VOCdevkit --gpus "" --batch-size 2
Replace placeholders with user-provided values and verify prerequisites before any real execution in a user-provided checkout or project: dataset root, annotations, image/video files, pretrained cache/network policy, backend framework, optional dependencies, and GPU availability.
For CPU-safe exploration, prefer dry model/data smoke checks from sibling sub-skills before launching long jobs.
For real training, explicitly confirm expected runtime, write locations, and resource usage. Long workflows can create checkpoints/logs, download weights/data, and consume GPUs for hours.
references/training-and-evaluation-scripts.md — task-family flag anatomy and adaptation patterns.references/script-catalog.md — source script family inventory, selected bundled replacement, and skip/risk decisions.references/troubleshooting.md — dataset, backend, optional dependency, OOM, resume, distributed, and cache failures.scripts/build_training_command.py — safe flag-template builder; it prints pseudo-command families and warnings but never starts training.--gpus "" or --num-gpus 0 for CPU templates when the underlying workflow supports it.pretrained=False in API smoke checks and pass explicit cache/write locations for real runs when possible.