Skip to main content

Guides

These guides take a model from its first parameter sweep to recorded results, controlled search and reusable model assets. They preserve the established Talos callback workflow alongside the SFD and CLI path.

Before you begin​

Use a supported Python and backend installation, a writable experiment directory and a working training function. Each model recipe states its own dataset, framework and execution order. The bundled datasets used below are offline fixtures; a short recipe verifies an interface rather than the performance of a research model.

First sweep and migration​

  • First parameter sweep: compare a Keras model before and after adding Talos.
  • Workflow: decide when to revise, evaluate or archive a search.
  • Migration: keep current model callbacks and adopt corrected Talos 2 contracts.
  • SFD and CLI: run file-based experiments, inspect artifacts and resume checkpoints.

Model recipes​

Model shape or taskWalkthroughComplete runnable code
Typical Keras classificationIris sweepComplete Iris example
Multiple inputsAligned input arraysComplete multiple-input example
Multiple outputsDiagnosis and radius targetsComplete multiple-output example
Sequence generatorHandwritten digitsComplete generator example
Bounded AutoMLBinary Iris searchComplete AutoML example
Native PyTorchTraining history and factoriesComplete PyTorch example

The walkthroughs explain each step. Their complete-code companions are the corresponding standalone programs; use the walkthrough as the authority for prerequisites, data boundaries and interpretation.

  1. Choose a grid or sampled search.
  2. Configure probabilistic reduction or a custom reducer when the completed metrics support that decision.
  3. Use a local strategy or Gamify to change pending work during a run.
  4. Configure devices and worker shards for the environment where the callback executes.

A completed trial produces result rows and run artifacts. Reducers affect pending trials; device helpers configure a framework and do not launch concurrent workers. Each operational guide names the controls and limits it owns.

When a workflow fails​

Check the backend contract before changing the search policy. Check Scan for callback arguments, data alignment and returned objects; check SFD and CLI for checkpoint identity and recovery errors. A reproducible bug report belongs in support.

Run the first sweep, or choose the recipe matching your current model. After training, continue with Analyze, Evaluate and Deploy.

Use the citation guide to identify the software and recorded experiment in a research paper.