[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ETEM4P6T92D3V4CT4RWRBM":3,"skill-same:01M7ETEM4P6T92D3V4CT4RWRBM":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7ETEM4P6T92D3V4CT4RWRBM","inference-evaluation",null,"Routes image\u002Fvideo detection, TFLite inference, mAP evaluation, and FPS benchmarking workflows for tensorflow-yolov4-tflite.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftensorflow-yolov4-tflite\u002Fsub-skills\u002Finference-evaluation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: inference-evaluation\ndescription: \"Routes image\u002Fvideo detection, TFLite inference, mAP evaluation,\n  and FPS benchmarking workflows for tensorflow-yolov4-tflite.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# Inference and Evaluation\n\nUse this sub-skill when the user has a TensorFlow SavedModel, TFLite model, or\nTF-TRT SavedModel from this repository and wants to run image detection, video\ndetection, COCO mAP output generation, or FPS benchmarking.\n\n## Before running inference\n\n- If the model artifact does not exist yet, route to\n  [..\u002Fmodel-conversion\u002FSKILL.md](..\u002Fmodel-conversion\u002FSKILL.md).\n- Confirm that `--framework`, `--model`, `--tiny`, and `--size` match the\n  artifact produced during conversion.\n- Run commands from the target checkout root because the repo uses relative\n  config\u002Fdata paths at import time.\n- Treat image\u002Fvideo\u002Fmodel\u002Fdataset paths as user-provided runtime inputs. Do not\n  download weights or COCO data unless the user explicitly approves.\n\n## Main routes\n\n1. **Image detection**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#image-detection) and use\n   [scripts\u002Fplan_inference.py](scripts\u002Fplan_inference.py) to build a checked\n   `detect.py` command.\n2. **Video detection**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#video-detection) before\n   using `detectvideo.py`, especially on headless machines.\n3. **TFLite inference**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#tflite-inference) for\n   output order and model\u002Ftiny caveats.\n4. **mAP evaluation**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#map-evaluation) because\n   the source script deletes\u002Frecreates output directories and has a config-path\n   trap.\n5. **FPS benchmarking**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#fps-benchmarking) and\n   verify that the user's backend claim matches the actual environment.\n\n## Command planner\n\nExample image-detection plan:\n\n```bash\npython sub-skills\u002Finference-evaluation\u002Fscripts\u002Fplan_inference.py \\\n  --action detect-image \\\n  --framework tf \\\n  --weights checkpoints\u002Fyolov4-416 \\\n  --input data\u002Fkite.jpg \\\n  --output result.png \\\n  --model yolov4 --size 416\n```\n\nExample TFLite plan:\n\n```bash\npython sub-skills\u002Finference-evaluation\u002Fscripts\u002Fplan_inference.py \\\n  --action detect-image \\\n  --framework tflite \\\n  --weights checkpoints\u002Fyolov4-416.tflite \\\n  --input data\u002Fkite.jpg \\\n  --output result-tflite.png \\\n  --model yolov4 --size 416\n```\n\nAdd `--check-paths` when operating inside a real target checkout and you want\nmissing model\u002Finput\u002Fannotation files to fail before launching TensorFlow.\n\n## Output checks\n\n- Image detection should write the `--output` image and draw boxes through\n  `core.utils.draw_bbox`.\n- Video detection writes `--output` only when that flag is supplied; otherwise\n  it opens an OpenCV UI window unless disabled.\n- Evaluation writes text files under `mAP\u002Fpredicted` and `mAP\u002Fground-truth`,\n  then the mAP tool reads those directories.\n- Benchmarking prints per-iteration time, average FPS, and instantaneous FPS;\n  discard the first warmup iteration when interpreting results.\n\n## Troubleshooting\n\nUse [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for missing\nmodel files, blank OpenCV inputs, TFLite output-order confusion, mAP directory\nside effects, annotation path mismatch, GPU\u002FTensorRT benchmark claims, and\nheadless display failures.\n","# Inference and Evaluation\n\nUse this sub-skill when the user has a TensorFlow SavedModel, TFLite model, or\nTF-TRT SavedModel from this repository and wants to run image detection, video\ndetection, COCO mAP output generation, or FPS benchmarking.\n\n## Before running inference\n\n- If the model artifact does not exist yet, route to\n  [..\u002Fmodel-conversion\u002FSKILL.md](..\u002Fmodel-conversion\u002FSKILL.md).\n- Confirm that `--framework`, `--model`, `--tiny`, and `--size` match the\n  artifact produced during conversion.\n- Run commands from the target checkout root because the repo uses relative\n  config\u002Fdata paths at import time.\n- Treat image\u002Fvideo\u002Fmodel\u002Fdataset paths as user-provided runtime inputs. Do not\n  download weights or COCO data unless the user explicitly approves.\n\n## Main routes\n\n1. **Image detection**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#image-detection) and use\n   [scripts\u002Fplan_inference.py](scripts\u002Fplan_inference.py) to build a checked\n   `detect.py` command.\n2. **Video detection**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#video-detection) before\n   using `detectvideo.py`, especially on headless machines.\n3. **TFLite inference**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#tflite-inference) for\n   output order and model\u002Ftiny caveats.\n4. **mAP evaluation**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#map-evaluation) because\n   the source script deletes\u002Frecreates output directories and has a config-path\n   trap.\n5. **FPS benchmarking**: read\n   [references\u002Fworkflows.md](references\u002Fworkflows.md#fps-benchmarking) and\n   verify that the user's backend claim matches the actual environment.\n\n## Command planner\n\nExample image-detection plan:\n\n```bash\npython sub-skills\u002Finference-evaluation\u002Fscripts\u002Fplan_inference.py \\\n  --action detect-image \\\n  --framework tf \\\n  --weights checkpoints\u002Fyolov4-416 \\\n  --input data\u002Fkite.jpg \\\n  --output result.png \\\n  --model yolov4 --size 416\n```\n\nExample TFLite plan:\n\n```bash\npython sub-skills\u002Finference-evaluation\u002Fscripts\u002Fplan_inference.py \\\n  --action detect-image \\\n  --framework tflite \\\n  --weights checkpoints\u002Fyolov4-416.tflite \\\n  --input data\u002Fkite.jpg \\\n  --output result-tflite.png \\\n  --model yolov4 --size 416\n```\n\nAdd `--check-paths` when operating inside a real target checkout and you want\nmissing model\u002Finput\u002Fannotation files to fail before launching TensorFlow.\n\n## Output checks\n\n- Image detection should write the `--output` image and draw boxes through\n  `core.utils.draw_bbox`.\n- Video detection writes `--output` only when that flag is supplied; otherwise\n  it opens an OpenCV UI window unless disabled.\n- Evaluation writes text files under `mAP\u002Fpredicted` and `mAP\u002Fground-truth`,\n  then the mAP tool reads those directories.\n- Benchmarking prints per-iteration time, average FPS, and instantaneous FPS;\n  discard the first warmup iteration when interpreting results.\n\n## Troubleshooting\n\nUse [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for missing\nmodel files, blank OpenCV inputs, TFLite output-order confusion, mAP directory\nside effects, annotation path mismatch, GPU\u002FTensorRT benchmark claims, and\nheadless display failures.\n",{"name":5,"license":15,"metadata":24,"description":7,"disable-model-invocation":26},{"disco-role":25},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Ftensorflow-yolov4-tflite\u002Fsub-skills\u002Finference-evaluation",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":26},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill inference-evaluation",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill inference-evaluation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill inference-evaluation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftensorflow-yolov4-tflite\u002Fsub-skills\u002Finference-evaluation\u002FSKILL.md",[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Ftroubleshooting.md","REFERENCE","参考文档",3835,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftensorflow-yolov4-tflite\u002Fsub-skills\u002Finference-evaluation\u002Freferences\u002Ftroubleshooting.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fworkflows.md",3907,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Ftensorflow-yolov4-tflite\u002Fsub-skills\u002Finference-evaluation\u002Freferences\u002Fworkflows.md",[59,67,72,79,86,93],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":66},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":68,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":66},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":66},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":66},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":66},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":66},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]