executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
trainingGuides YOLOP training, validation, evaluation metrics, staged multitask flags, checkpoints, auto-anchor behavior, and training smoke diagnostics.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.