Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
android-deployment【部署与运维】Routes Android TFLite asset, Gradle, classifier, GPU delegate, and mobile YOLOv4 deployment workflows for tensorflow-yolov4-tflite.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the user wants to run or adapt the repository's Android
TFLite demo, replace the .tflite asset, update labels, reason about the
YoloV4Classifier constants, or troubleshoot Gradle/TFLite delegate issues.
MainActivity and DetectorActivity, copy the validated .tflite into the
app assets directory of the user's target checkout, then run the asset checker.coco.txt or change the Java constants so
the classifier reads the intended label file; class order must match the
TFLite model output.YoloV4Classifier constants for GPU/NNAPI; GPU
delegate is enabled by source default, NNAPI is disabled.python sub-skills/android-deployment/scripts/check_android_assets.py \
--android-root android \
--model yolov4-416-fp32.tflite \
--labels coco.txt \
--expected-classes 80
Use --assets-dir instead of --android-root if the user has copied the app
layout into another project.
.tflite model is missing or mismatched, return to
../model-conversion/SKILL.md.Stop before installing Android SDKs, downloading Gradle dependencies, running a camera app on a device, or replacing production mobile assets unless the user approves the target project and overwrite policy.