Skip to main content
The following error usually occurs when you do not log the metric that you are optimizing:
To fix this, make sure you are logging the exact metric specified in your sweep configuration. For example, if your sweep config specifies:
Then your training code must call:
The metric name must match exactly between your sweep configuration and your wandb.log call. For more information, see Sweeps troubleshooting and Define sweep configuration.
Sweeps Metrics