Skip to main content

Best practices to organize hyperparameter searches

Set unique tags with wandb.init(tags ‘your tag’) . This allo …

Can I rerun a grid search?

If a grid search completes but some W B Runs need re-executi …

Can I use Sweeps and SageMaker?

To authenticate W B, complete the following steps: create a …

Can we flag boolean variables as hyperparameters?

Use the args no boolean flags macro in the command section o …

Can you use W&B Sweeps with cloud infrastructures such as AWS Batch, ECS, etc.?

To publish the sweep id so that any W B Sweep agent can acce …

Do I need to provide values for all hyperparameters as part of the W&B Sweep. Can I set defaults?

Access hyperparameter names and values from the sweep config …

How can I change the directory my sweep logs to locally?

Set the logging directory for W B run data by configuring th …

How can I resume a sweep using Python code?

To resume a sweep, pass the sweep id to the wandb.agent() fu …

How do I best log models from runs in a sweep?

One effective approach for logging models in a sweep (/model …

How do I enable code logging with Sweeps?

To enable code logging for sweeps, add wandb.log code() afte …

How do I use custom CLI commands with sweeps?

You can use W B Sweeps with custom CLI commands if training …

How should I run sweeps on SLURM?

When using sweeps with the SLURM scheduling system (https:// …

Is there a way to add extra values to a sweep, or do I need to start a new one?

Once a W B Sweep starts, you cannot change the Sweep configu …

Optimizing multiple metrics

To optimize multiple metrics in a single run, use a weighted …

What happens if I edit my Python files while a sweep is running?

While a sweep is running: - If the train.py script which the …

What is the `Est. Runs` column?

W B provides an estimated number of Runs generated when crea …