Do I need to provide values for all hyperparameters as part of the W&B Sweep. Can I set defaults?
Support:
less than a minute
Access hyperparameter names and values from the sweep configuration using wandb.config
, which acts like a dictionary.
For runs outside a sweep, set wandb.config
values by passing a dictionary to the config
argument in wandb.init
. In a sweep, any configuration supplied to wandb.init
serves as a default value, which the sweep can override.
Use config.setdefaults
for explicit behavior. The following code snippets illustrate both methods:
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.