技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
training-data【数据与研究】Prepare, validate, and train SketchCode paired PNG/GUI datasets, including vocabulary, preprocessing, model architecture, and legacy training troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves preparing paired SketchCode training data, validating .png/.gui layouts, understanding vocabulary.vocab, running or adapting legacy training, fine-tuning from model JSON/weights, inspecting image preprocessing, or explaining the CNN-plus-GRU model structure.
model_json.json and weights.sample_id.png and sample_id.gui files before training.training_set, validation_set, .npz feature outputs, augmentation, or validation split surprises..gui or HTML belongs to conversion-inference..gui files belongs to evaluation.Read references/data-formats.md to confirm the dataset shape, vocabulary, tokenization, and preprocessing outputs.
Run the bundled validator before expensive or destructive training:
python sub-skills/training-data/scripts/validate_training_dataset.py DATASET_DIR
Use the guarded bundled training wrapper when a real run is requested; it dry-runs by default and requires explicit destructive-split acknowledgement:
python sub-skills/training-data/scripts/run_training.py --help
Read references/training-workflow.md before launching training; it explains command templates, flags/defaults, fine-tuning inputs, and the destructive split directory behavior.
Read references/model-overview.md when the task asks about architecture, optimizer, callbacks, saved files, sequence lengths, or memory expectations.
Use references/api-reference.md for a concise source-level API and CLI map.
If anything fails, start with references/troubleshooting.md, especially for missing pairs, duplicate GUI layouts, legacy TensorFlow/Keras/OpenCV imports, and the VOCAB_FILE relative-path issue.
training_set and validation_set directories under the parent of --data_input_path.training_set or validation_set folders.--run --allow-destructive-split.