计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
inference-evaluation【效率与协作】Routes image/video detection, TFLite inference, mAP evaluation, and FPS benchmarking workflows for tensorflow-yolov4-tflite.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user has a TensorFlow SavedModel, TFLite model, or TF-TRT SavedModel from this repository and wants to run image detection, video detection, COCO mAP output generation, or FPS benchmarking.
--framework, --model, --tiny, and --size match the
artifact produced during conversion.detect.py command.detectvideo.py, especially on headless machines.Example image-detection plan:
python sub-skills/inference-evaluation/scripts/plan_inference.py \
--action detect-image \
--framework tf \
--weights checkpoints/yolov4-416 \
--input data/kite.jpg \
--output result.png \
--model yolov4 --size 416
Example TFLite plan:
python sub-skills/inference-evaluation/scripts/plan_inference.py \
--action detect-image \
--framework tflite \
--weights checkpoints/yolov4-416.tflite \
--input data/kite.jpg \
--output result-tflite.png \
--model yolov4 --size 416
Add --check-paths when operating inside a real target checkout and you want
missing model/input/annotation files to fail before launching TensorFlow.
--output image and draw boxes through
core.utils.draw_bbox.--output only when that flag is supplied; otherwise
it opens an OpenCV UI window unless disabled.mAP/predicted and mAP/ground-truth,
then the mAP tool reads those directories.Use references/troubleshooting.md for missing model files, blank OpenCV inputs, TFLite output-order confusion, mAP directory side effects, annotation path mismatch, GPU/TensorRT benchmark claims, and headless display failures.