Usage
Description
Start a sweep agent. Poll the W&B server for hyperparameter configurations from the sweep and start a run for each configuration. The agent exits when the sweep completes, the sweep is stopped, cancelled, or the--count limit is reached.
Find the sweep ID in:
- The W&B App at
https://wandb.ai/entity/project/sweeps. Replaceentityandprojectwith your entity and project names. - The output of the
wandb sweepcommand when you create a new sweep.
entity/project/sweep_id) or the eight character sweep ID alone.
Examples
Start an agent for a sweep with a sweep ID of “wbyz9876”Arguments
| Name | Default | Type |
|---|---|---|
sweep_id | None | STR |
Options
| Flag | Type | Description |
|---|---|---|
--project, -p | STR | Set the project to upload runs to. Default: None |
--entity, -e | STR | Set the entity to scope the project to. Default: None |
--count | INT | Maximum number of runs this agent will execute. Continues until the sweep completes if not set. Default: None |
--forward-signals, -f | BOOL Flag | Forward signals (e.g. SIGINT/SIGTERM) to child runs so they can shut down cleanly. Default: False |