L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

resnet-training

resnet-training

Guides Tencent ML-Images TensorFlow 1.x ResNet graph, pretraining, finetuning, flags, and training troubleshooting.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: resnet-training description: "Guides Tencent ML-Images TensorFlow 1.x ResNet graph, pretraining, finetuning, flags, and training troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: NOASSERTION

ResNet Training

Use this sub-skill when the task is about the Tencent ML-Images ResNet model, ML-Images multi-label pretraining, ImageNet finetuning, training flags, checkpoint restore, or training/runtime diagnostics.

Read first

Bundled helpers

  • scripts/build_train_command.py prints a safe train.py command template for ML-Images pretraining. It does not run training.
  • scripts/build_finetune_command.py prints a safe finetune.py command template for ImageNet finetuning. It does not run training and calls out legacy example-script misspellings.
  • scripts/resnet_graph_smoke.py checks whether a user's local Tencent ML-Images checkout and TensorFlow 1.x runtime can import flags and models.resnet and build a small graph.

Route by task

  • Need TFRecords or data layout first: route to ../data-preparation/SKILL.md. Training reads split directories; it does not create TFRecords itself.
  • Build a pretraining command: use scripts/build_train_command.py, then verify the data root has train/ and val/ shards and the class count is 11166.
  • Build a finetuning command: use scripts/build_finetune_command.py, then verify ImageNet-style scalar-label TFRecords, class_num=1000, and a compatible checkpoint.
  • Inspect the model graph: read references/model-reference.md, then run scripts/resnet_graph_smoke.py --repo-root <checkout> inside a TensorFlow 1.x environment if a local checkout is available.
  • Diagnose failures: start with references/troubleshooting.md. Many issues are legacy TensorFlow/Python compatibility rather than user data mistakes.

Do not overclaim

  • The public code is single-node and practical training is GPU/long-running. Do not present a CPU smoke or command render as evidence that full ML-Images pretraining was reproduced.
  • The README notes that the authors' real ML-Images training used an internal distributed framework that is not released. The generated skill can guide the public single-node code only.
  • Benchmark numbers and checkpoint links are provenance facts from the public README. Do not claim they were remeasured unless a separate experiment did so.
Skills enregistrées