AutoKeras search and export
Use this sub-skill when the request is about controlling AutoKeras search behavior, tuner selection, objectives, search directories, callbacks, persistence, overwrite, model export, or reloading saved Keras models.
Fast route
- For smoke checks, set
max_trials=1,epochs=1,overwrite=True, and an explicit scratchdirectory. - For real searches, choose a stable
directory/project_name, decide whether to resume (overwrite=False) or start fresh (overwrite=True), and set an objective compatible with the metrics/losses. - Choose
tunerfrom"greedy","random","hyperband","bayesian", or pass a tuner class. - Use
callbacksandepochsdeliberately;epochs=Nonecan trigger adaptive early stopping. - After fitting, call
export_model(), save with Keras, and reload withcustom_objects=ak.CUSTOM_OBJECTSwhen AutoKeras custom layers are present.
Read references/search-configuration.md for constructor and fit controls. Read references/tuner-reference.md for tuner names/classes and task-specific defaults. Read references/export-and-reload.md for saving and loading exported Keras models. Read references/troubleshooting.md for invalid tuner names, missing validation data, stale search directories, objective mismatches, OOM, slow searches, and custom-object reload errors.
Bundled helper
- scripts/export_tiny_model.py constructs or optionally fits/exports/reloads a tiny offline AutoKeras model. It defaults to dry-run mode; use
--run-fitonly when a tiny local search is acceptable.
Route elsewhere
- Image/text/structured task setup and data formats: ../task-apis/SKILL.md.
- Custom
AutoModelgraph topology, nodes, blocks, heads, multimodal or multitask composition: ../automodel-customization/SKILL.md.