Skip to content
Back to skills

Resnet Training

ASecurity

"Guides Tencent ML-Images TensorFlow 1.x ResNet graph, pretraining,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythonshellnodedebugging

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill resnet-training --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Resnet Training?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Resnet Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-resnet-training/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-resnet-training)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- Read [references/training-workflows.md](references/training-workflows.md) for
  pretraining and finetuning recipes, required split directories, and safe
  command construction.
- Read [references/model-reference.md](references/model-reference.md) for the
  ResNet wrapper, supported depths, tensor shapes, data formats, loss behavior,
  and preprocessing facts.
- Read [references/cli-flags.md](references/cli-flags.md) when converting a
  shell example or user request into concrete flags.
- Read [references/troubleshooting.md](references/troubleshooting.md) before
  debugging TensorFlow 1.x, source syntax, checkpoint, GPU, or missing-data
  failures.

## 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](../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.

Files in this skill

  • SKILL.md3.1 KB
  • references/cli-flags.md3.5 KB
  • references/model-reference.md3.2 KB
  • references/training-workflows.md3.3 KB
  • references/troubleshooting.md3.5 KB
  • scripts/build_finetune_command.py4.1 KB
  • scripts/build_train_command.py4 KB
  • scripts/resnet_graph_smoke.py2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.