计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
training【效率与协作】Guides YOLOP training, validation, evaluation metrics, staged multitask flags, checkpoints, auto-anchor behavior, and training smoke diagnostics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task asks to train YOLOP, run validation/evaluation, change end-to-end versus staged/single-task modes, diagnose tools/train.py or tools/test.py, reason about MultiHeadLoss, configure auto-anchor, or interpret YOLOP detection/segmentation metrics.
Do not use this sub-skill for only preparing data roots (use data-preparation), running demo inference (use inference), or exporting ONNX/TensorRT artifacts (use export).
data-preparation sub-skill.lib.config.cfg values for dataset roots, image size, batch sizes, workers, training mode flags, pretrained checkpoint paths, and LOG_DIR.python sub-skills/training/scripts/train_smoke.py --repo-root /path/to/YOLOP --device cpu --image-size 128
PYTHONPATH=. python tools/train.py
PYTHONPATH=. python -m torch.distributed.launch --nproc_per_node=N tools/train.py
PYTHONPATH=. python tools/test.py --weights weights/End-to-end.pth
TRAIN.SEG_ONLY, DET_ONLY, ENC_SEG_ONLY, ENC_DET_ONLY, DRIVABLE_ONLY, and LANE_ONLY change both parameter freezing and loss components.NEED_AUTOANCHOR=True is not a cheap smoke check; it runs k-means/evolution over the training labels.tools/train.py and tools/test.py use the yacs config more than their parser suggests; several parsed arguments are not applied by update_config in the current source.