Can I just log metrics, no code or dataset examples?
By default, W&B does not log dataset examples. By default, W&B logs code and system metrics. Two methods exist to turn o …
Can I log metrics on two different time scales?
For example, I want to log training accuracy per batch and validation accuracy per epoch. Yes, log indices like batch an …
How can I change how frequently to log system metrics?
To configure the frequency to log system metrics, set _stats_sampling_interval to a number of seconds, expressed as a fl …
How can I disable logging of system metrics to W&B?
To disable logging of system metrics, set _disable_stats to True:
How can I log additional metrics after a run completes?
There are several ways to manage experiments. For complex workflows, use multiple runs and set the group parameters in w …
How can I overwrite the logs from previous steps?
To overwrite logs from previous steps, use forking and rewind.
How do I fix `Rate limit exceeded` errors when logging metrics?
If you receive an HTTP 429 Rate limit exceeded error when calling wandb.log(), you are exceeding the rate limit quota fo …
How do I fix an `anaconda 400 error` during a sweep?
The following error usually occurs when you do not log the metric that you are optimizing: To fix this, make sure you ar …
How often are system metrics collected?
Metrics collect by default every 10 seconds. For higher resolution metrics, email contact@wandb.com.
Is it possible to plot the max of a metric rather than plot step by step?
Create a scatter plot of the metric. Open the Edit menu and select Annotations. From there, plot the running maximum of …
Is it possible to save metrics offline and sync them to W&B later?
By default, wandb.init starts a process that syncs metrics in real time to the cloud. For offline use, set two environme …
Optimizing multiple metrics
To optimize multiple metrics in a single run, use a weighted sum of the individual metrics. Log the new combined metric …
What happens when I log millions of steps to W&B? How is that rendered in the browser?
The number of points sent affects the loading time of graphs in the UI. For lines exceeding 1,000 points, the backend sa …
What if I want to log some metrics on batches and some metrics only on epochs?
To log specific metrics in each batch and standardize plots, log the desired x-axis values alongside the metrics. In the …
Why am I seeing fewer data points than I logged?
When visualizing metrics against an X-axis other than Step, expect to see fewer data points. Metrics must log at the sam …
Why can't I sort or filter metrics with certain characters?
Metric names in W&B must follow GraphQL naming conventions to ensure they can be properly sorted and filtered in the UI. …
Why does my workspace load slowly?
Workspaces can load slowly when a project has a large number of metrics, runs, or panels. Here are common causes and fix …
Why is nothing showing up in my graphs?
If the message “No visualization data logged yet” appears, the script has not executed the first wandb.log call. This si …
Why is the same metric appearing more than once?
When logging various data types under the same key, split them in the database. This results in multiple entries of the …