Skip to main content

Can I just set the run name to the run ID?

Yes. To overwrite the run name with the run ID, use the foll …

Can I log metrics on two different time scales?

For example, I want to log training accuracy per batch and v …

Can I run wandb offline?

If training occurs on an offline machine, use the following …

Does W&B use the `multiprocessing` library?

Yes, W B uses the multiprocessing library. An error message …

Does logging block my training?

“Is the logging function lazy? I don’t want to depend on the …

Does your tool track or store training data?

Pass a SHA or unique identifier to wandb.Run.config.update(. …

How can I access the data logged to my runs directly and programmatically?

The history object tracks metrics logged with wandb.log . Ac …

How can I compare images or media across epochs or steps?

Expand the image panel and use the step slider to navigate t …

How can I configure the name of the run in my training code?

At the beginning of the training script, call wandb.init wit …

How can I define the local location for `wandb` files?

  • WANDB DIR path or wandb.init(dir path ) : Controls the loc …

How can I organize my logged charts and media in the W&B UI?

The / character separates logged panels in the W B UI. By de …

How can I save the git commit associated with my run?

When wandb.init is invoked, the system automatically collect …

How can I see files that do not appear in the Files tab?

The Files tab shows a maximum of 10,000 files. To download a …

How can I use wandb with multiprocessing, e.g. distributed training?

If a training program uses multiple processes, structure the …

How do I add Plotly or Bokeh Charts into Tables?

Direct integration of Plotly or Bokeh figures into tables is …

How do I get the random run name in my script?

Call a run object’s .save() method to save the current run. …

How do I launch multiple runs from one script?

Finish previous runs before starting new runs to log multipl …

How do I log a list of values?

These examples show logging losses a couple of different way …

How do I plot multiple lines on a plot with a legend?

Create a multi-line custom chart with wandb.plot.line series …

How do I programmatically access the human-readable run name?

The .name attribute of a wandb.Run (/models/ref/python/exper …

I didn't name my run. Where is the run name coming from?

If a run is not explicitly named, W B assigns a random name …

InitStartError: Error communicating with wandb process

This error indicates that the library encounters an issue la …

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

By default, wandb.init starts a process that syncs metrics i …

My run's state is `crashed` on the UI but is still running on my machine. What do I do to get my data back?

You likely lost connection to your machine during training. …

What does wandb.init do to my training process?

When wandb.init() runs in a training script, an API call cre …

What happens if I pass a class attribute into wandb.Run.log()?

Avoid passing class attributes into wandb.Run.log() . Attrib …

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 …

What if I want to integrate W&B into my project, but I don't want to upload any images or media?

W B supports projects that log only scalars by allowing expl …

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, …

What is the difference between wandb.init modes?

These modes are available: online (default): The client send …

Why am I seeing fewer data points than I logged?

When visualizing metrics against an X-axis other than Step , …

Why are steps missing from a CSV metric export?

Export limits can prevent the entire run history from being …

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

Metric names in W B must follow GraphQL naming conventions t …

Why is nothing showing up in my graphs?

If the message “No visualization data logged yet” appears, t …

Why is the same metric appearing more than once?

When logging various data types under the same key, split th …

Will wandb slow down my training?

W B has a minimal impact on training performance under norma …