技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-preparation【数据与研究】Guides Tencent ML-Images URL lists, image-label lists, dictionaries, and TFRecord preparation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about preparing data for Tencent ML-Images training or finetuning: downloading OpenImages URLs, validating image/label lists, interpreting class dictionaries or the semantic hierarchy, and writing TFRecord shards.
Run these helper scripts from the generated skill tree, not from the original repository examples:
scripts/validate_ml_images_lists.py checks URL-list/image-list/dictionary
shape, label tokens, class-id bounds, duplicate image rows, and optionally
whether image paths exist.scripts/download_urls.py is a Python 3 adaptation of the downloader. It is
dry-run safe by default when --dry-run is supplied and supports --limit so
agents can inspect URL handling without bulk download side effects.scripts/make_tfrecords.py is a safer TensorFlow 1.x/compat TFRecord writer
for local images and label-list shards. It refuses to overwrite existing
shards unless --overwrite is explicit.references/data-formats.md; then use
scripts/validate_ml_images_lists.py against the user's copy of the files.references/workflows.md, run the
downloader with --dry-run --limit N, and only remove --dry-run after the
user has approved network writes.scripts/make_tfrecords.py into a fresh output directory. Route onward to
../resnet-training/SKILL.md for the train/val
directory layout consumed by the model scripts.references/troubleshooting.md; do not guess class counts or label encodings.tf.compat.v1 behavior and should be tested with the bundled converter first.5193:0.9. The ImageNet finetuning path may use a
single scalar class id instead.