界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

autokeras

autokeras

【效率与协作】Use AutoKeras for Keras-based AutoML task APIs, custom AutoModel graphs, tuner search, and model export workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: autokeras description: "Use AutoKeras for Keras-based AutoML task APIs, custom AutoModel graphs, tuner search, and model export workflows." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

AutoKeras repo skill

Use this skill when a user asks how to operate AutoKeras: Keras-based AutoML for image, text, structured-data, custom search-space, tuner, and export workflows. This skill is self-contained; do not rely on the original repository checkout at runtime.

Setup first

AutoKeras 3.0.0 uses Keras 3. Choose and install a Keras backend before importing Keras or AutoKeras. The repository's public install guidance and CI support a PyTorch backend path for ordinary CPU checks.

python -m pip install autokeras
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
KERAS_BACKEND=torch python -c "import keras, autokeras as ak; print(ak.__version__, keras.backend.backend())"

Run scripts/check_autokeras_env.py when setup, backend, import, or public API visibility is uncertain.

Route by task

  • sub-skills/task-apis/SKILL.md: high-level ImageClassifier, ImageRegressor, TextClassifier, TextRegressor, StructuredDataClassifier, and StructuredDataRegressor workflows, including data shapes and task-specific troubleshooting.
  • sub-skills/automodel-customization/SKILL.md: custom AutoModel graphs, nodes, blocks, heads, multimodal inputs, multitask outputs, and graph/data ordering failures.
  • sub-skills/search-and-export/SKILL.md: tuner names/classes, max_trials, objectives, callbacks, search directories, overwrite, export_model(), and reloading saved .keras models.

Shared references

Operating constraints

  • Keep first runs bounded: max_trials=1, epochs=1, small synthetic/local data, and an explicit scratch directory.
  • Set KERAS_BACKEND before importing Keras or AutoKeras.
  • Do not run original examples, notebooks, benchmark scripts, Docker scripts, or release tooling as runtime dependencies. Use bundled scripts and references instead.
  • CUDA/GPU execution is optional for this skill. Do not claim GPU verification unless the user's own environment and backend framework have been checked.
我的收藏