计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
pytorch-yolo-v3【效率与协作】Route pytorch-yolo-v3 Darknet cfg, image detection, video camera demo, preprocessing, NMS, and legacy PyTorch YOLOv3 troubleshooting tasks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a user is working with the legacy pytorch-yolo-v3 source repository for PyTorch YOLOv3 object detection: Darknet cfg parsing, local YOLO weights, still-image detection, OpenCV video/camera demos, preprocessing, postprocessing, confidence/NMS behavior, or repository-specific errors.
yolov3.weights automatically.For a safe root preflight, run:
python scripts/check_environment.py
python scripts/check_environment.py --repo-root <repo-root> --check-files
This checks dependencies and optional checkout imports without weights, downloads, GUI, camera, video, or inference.
| User task or signal | Read |
|---|---|
Parse or validate Darknet cfg files; inspect Darknet; understand load_weights/save_weights; debug Something I dunno, unsupported region/reorg, class-count/filter mismatch, or names files | sub-skills/model-and-config/SKILL.md |
Run still-image or image-directory detection; build a safe detection command; debug preprocessing, write_results, confidence/NMS, no detections, output naming, image extension handling, or CPU/CUDA image inference | sub-skills/image-detection/SKILL.md |
Use or debug video_demo.py, cam_demo.py, or video_demo_half.py; handle OpenCV display/camera/video input, half precision, ignored --video, or headless-server issues | sub-skills/video-camera-demos/SKILL.md |
| Install/import/dependency issues, missing weights, source-checkout assumptions, CUDA expectations, or cross-cutting stop conditions | references/troubleshooting.md |
| Decide whether this skill is stale for a current checkout | references/repo-provenance.md |
scripts/check_environment.py for root dependency/import checks.sub-skills/model-and-config/scripts/inspect_darknet_config.py for cfg/names/static model compatibility.sub-skills/image-detection/scripts/check_image_pipeline.py for no-weight preprocessing/postprocessing checks.sub-skills/image-detection/scripts/run_image_detection.py for a validated dry-run launcher around still-image detection.sub-skills/video-camera-demos/scripts/check_video_demo_args.py for parser/source checks.sub-skills/video-camera-demos/scripts/run_video_demo.py for a validated dry-run launcher around video/camera demos.darknet, util, preprocess, and bbox.detect.py; the generated skill wraps it through sub-skills/image-detection/scripts/run_image_detection.py.video_demo.py, video_demo_half.py, and cam_demo.py; the generated skill wraps/preflights them through the video-camera sub-skill scripts.cfg/yolov3.cfg. Other bundled cfgs parse but contain unsupported YOLOv2-style region and/or reorg blocks.cfg/yolov3.cfg.