Skip to main content
An anaconda 400 error during a sweep often means you didn’t log the metric you’re optimizing. You might see:
The sweep controller can’t find the metric it needs to compare runs. Log the exact metric named in your sweep configuration. For example, if your sweep config specifies:
Add a matching wandb.log call in your training loop:
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