AutoModel customization
Use this sub-skill when a task needs more control than the one-class task APIs provide: custom blocks, functional graph topology, multimodal inputs, multitask outputs, or explicit node/block/head wiring.
Fast route
- Choose input nodes:
ak.ImageInput(), ak.TextInput(), ak.StructuredDataInput(...), or generic ak.Input().
- Connect nodes through blocks and reductions using Keras-functional style calls.
- End every output branch with a
ClassificationHead or RegressionHead.
- Build
ak.AutoModel(inputs=..., outputs=..., max_trials=..., overwrite=...).
- Pass
x and y to fit in the same nesting/order as inputs and outputs.
Read references/api-reference.md for verified AutoModel, node, block, and head signatures. Read references/custom-search-spaces.md for custom topology recipes. Read references/multimodal-multitask.md for ordered multiple input/output workflows. Read references/troubleshooting.md for graph connectivity, array-count, backend, pretrained, and runtime failures.
Bundled helpers
Run helpers with --help first. They default to safe dry-run construction and use synthetic data.
- scripts/build_tiny_custom_image_automodel.py builds a small image custom search graph.
- scripts/build_tiny_multimodal_automodel.py builds a two-input, two-output multimodal/multitask graph.
Route elsewhere
1---2name: automodel-customization3description: "Build custom AutoKeras AutoModel graphs, blocks, multimodal4 inputs, and multitask outputs."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/automodel-customization8 disco-role: operating9license: Apache 2.010---1112# AutoModel customization1314Use this sub-skill when a task needs more control than the one-class task APIs provide: custom blocks, functional graph topology, multimodal inputs, multitask outputs, or explicit node/block/head wiring.1516## Fast route17181. Choose input nodes: `ak.ImageInput()`, `ak.TextInput()`, `ak.StructuredDataInput(...)`, or generic `ak.Input()`.192. Connect nodes through blocks and reductions using Keras-functional style calls.203. End every output branch with a `ClassificationHead` or `RegressionHead`.214. Build `ak.AutoModel(inputs=..., outputs=..., max_trials=..., overwrite=...)`.225. Pass `x` and `y` to `fit` in the same nesting/order as `inputs` and `outputs`.2324Read [references/api-reference.md](references/api-reference.md) for verified AutoModel, node, block, and head signatures. Read [references/custom-search-spaces.md](references/custom-search-spaces.md) for custom topology recipes. Read [references/multimodal-multitask.md](references/multimodal-multitask.md) for ordered multiple input/output workflows. Read [references/troubleshooting.md](references/troubleshooting.md) for graph connectivity, array-count, backend, pretrained, and runtime failures.2526## Bundled helpers2728Run helpers with `--help` first. They default to safe dry-run construction and use synthetic data.2930- [scripts/build_tiny_custom_image_automodel.py](scripts/build_tiny_custom_image_automodel.py) builds a small image custom search graph.31- [scripts/build_tiny_multimodal_automodel.py](scripts/build_tiny_multimodal_automodel.py) builds a two-input, two-output multimodal/multitask graph.3233## Route elsewhere3435- High-level `ImageClassifier`, `TextClassifier`, or `StructuredDataClassifier` style workflows: [../task-apis/SKILL.md](../task-apis/SKILL.md).36- Tuner selection, search directories, export/reload, callbacks, objectives, or old search cleanup: [../search-and-export/SKILL.md](../search-and-export/SKILL.md).