计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
image-modeling【效率与协作】Routes easy12306 image-tile classifier training, asset inspection, and model artifact compatibility tasks.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task is about the easy12306 image-tile classifier:
training or inspecting the 80-way model that labels each cropped captcha tile,
checking captcha.npz / captcha.test.npz, understanding BGR preprocessing,
or preparing the 12306.image.model.h5 artifact for downstream inference.
This is a router. Keep detailed architecture, data schemas, and failure handling in the linked references instead of expanding this file.
12306.image.model.h5 handoff has the expected
80-class purpose and compatible environment assumptions.model.h5, model.v*.h5, or text .npz datasets:
use the text-modeling sub-skill.images.npz: use the data-preparation sub-skill.inference
sub-skill.preprocess_input, load_data, learn, predict, and _predict contracts..npz dataset shape, 80-label vocabulary files, optional model
existence, and vote-matrix sample weights without loading TensorFlow by
default.When the integrated root files are present, also read ../../references/label-vocabulary.md for class-id-to-label mapping and ../../references/model-artifacts.md for shared model file placement and handoff conventions.
Before any training or artifact handoff, run the bundled asset checker against user-supplied files. From this sub-skill directory, for example:
python scripts/inspect_image_training_assets.py \
--captcha-npz captcha.npz \
--captcha-test-npz captcha.test.npz \
--labels-file texts.txt \
--model 12306.image.model.h5
The checker validates array schemas and file presence only. It intentionally does
not load a Keras model unless --load-model is supplied.
float32 and subtracts BGR means [103.939, 116.779, 123.68].12306.image.model.h5, a softmax-80 classifier for
captcha image tiles. It is not bundled here; future agents must receive or
create it explicitly.keras.preprocessing.image.ImageDataGenerator import path
used by this workflow.