Skip to main content

Can I just log metrics, no code or dataset examples?

Yes, disable code logging with WANDB_DISABLE_CODE or turn it off in team settings.

Can I log metrics on two different time scales?

Yes, log step indices like batch and epoch alongside metrics, then use define_metric to set the x-axis.

How can I change how frequently to log system metrics?

Set x_stats_sampling_interval in wandb.Settings to control system metrics logging frequency.

How can I disable logging of system metrics to W&B?

Disable system metrics logging by setting x_disable_stats to True in wandb.Settings during initialization.

How can I log additional metrics after a run completes?

Resume a completed run with wandb.init using resume=True and a unique ID to log additional metrics.

How can I overwrite the logs from previous steps?

Use forking and rewind to overwrite logs from previous steps in a W&B run.

How do I fix `Rate limit exceeded` errors when logging metrics?

Reduce logging frequency, batch metrics, or upgrade your plan to resolve 429 rate limit errors.

How do I fix an `anaconda 400 error` during a sweep?

Log the exact metric specified in your sweep config to fix the anaconda 400 error.

How often are system metrics collected?

System metrics are collected every 10 seconds by default. Contact W&B for higher resolution.

Is it possible to plot the max of a metric rather than plot step by step?

Create a scatter plot, open Edit > Annotations, and select running maximum to plot the max.

Is it possible to save metrics offline and sync them to W&B later?

Set WANDB_MODE=offline to log metrics locally, then use wandb sync to upload them later.

Optimizing multiple metrics

Use a weighted sum of individual metrics to optimize multiple metrics in a single sweep run.

What happens when I log millions of steps to W&B? How is that rendered in the browser?

W&B samples data down to 1,500 points for rendering. Keep metrics under 10,000 points for best performance.

What if I want to log some metrics on batches and some metrics only on epochs?

Log a custom x-axis value alongside your metrics and select it in the chart editor.

Why am I seeing fewer data points than I logged?

Metrics must be logged at the same step to stay synchronized. Bundle metrics into a single log call.

Why can't I sort or filter metrics with certain characters?

Metric names must follow GraphQL naming rules: letters, digits, and underscores only.

Why does my workspace load slowly?

Too many metrics, runs, or panels slow workspaces. Use manual mode and reduce visible panels.

Why is nothing showing up in my graphs?

Graphs stay empty until the first wandb.log call executes. Log more frequently to see data sooner.

Why is the same metric appearing more than once?

Logging different data types under the same key causes duplicate metric entries. Use one type per key.