writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
paddle-detectionGuides PaddleDetection object detection, segmentation, keypoint, multi-object tracking, configuration, training, evaluation, inference, export, deployment, and PP-Human/PP-Vehicle pipeline workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a task names PaddleDetection, paddledet, PP-YOLO/PP-YOLOE/PicoDet, PaddleDetection YAML configs, tools/train.py, tools/infer.py, model export, PP-Human, PP-Vehicle, PP-Tracking, or PaddleDetection deployment.
This is an operating router, not a copy of the repository. Work against the user's PaddleDetection checkout or installed package, and use the bundled references/scripts in this skill for decisions and preflight checks. Do not assume the creation checkout or its private environment still exists.
scripts/check_paddledet_environment.py.use_gpu=false or --device=CPU for a deterministic smoke test unless CUDA/TensorRT is explicitly required and available.references/troubleshooting.md whenever imports, weights, config paths, optional dependencies, or device checks fail.sub-skills/model-zoo-and-configuration/SKILL.md.sub-skills/data-preparation/SKILL.md.tools/*.py: read sub-skills/training-evaluation-inference/SKILL.md.sub-skills/deployment-and-export/SKILL.md.sub-skills/industrial-pipelines/SKILL.md.The distribution is paddledet and the primary import is ppdet. The repository's baseline requirements include PaddleDetection utilities plus NumPy below 2, OpenCV, PyYAML, Shapely, SciPy, pycocotools, VisualDL, MOT dependencies, and image augmentation utilities. Install a compatible PaddlePaddle CPU or GPU build first, then install the repository requirements and the package in editable mode when working from source.
Minimal import check:
python -c "import paddle, ppdet; print(paddle.__version__, ppdet.__version__)"
python -c "import paddle; paddle.utils.run_check()"
The source checkout currently advertises package version 0.0.0 even when its Git tag is newer. Treat ppdet.model_zoo.get_config_file() as a network/cache operation and prefer a checked-out config path for source workflows; see the model-zoo route for the observed 404 failure mode.
_BASE_ files. Use -o key=value only for deliberate, logged overrides; verify paths and num_classes after merging.save_dir, inference exports under a separate output_inference-style directory, and visualizations/results under a separate output directory.Read references/install-and-environment.md for supported dependency variants and backend boundaries, references/verification-candidates.md for safe checks, and references/repo-provenance.md before deciding whether this skill is stale.