> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Experiments

<Card title="Can I just set the run name to the run ID?" href="/support/models/articles/can-i-just-set-the-run-name-to-the-run-i" arrow="true" horizontal>
  Yes. To overwrite the run name with the run ID, use the following code snippet:
</Card>

<Card title="Can I log metrics on two different time scales?" href="/support/models/articles/can-i-log-metrics-on-two-different-time-" arrow="true" horizontal>
  For example, I want to log training accuracy per batch and validation accuracy per epoch. Yes, log indices like batch an ...
</Card>

<Card title="Can I run wandb offline?" href="/support/models/articles/can-i-run-wandb-offline" arrow="true" horizontal>
  If training occurs on an offline machine, use the following steps to upload results to the servers: 1. Set the environme ...
</Card>

<Card title="Does W&B use the `multiprocessing` library?" href="/support/models/articles/does-wb-use-the-multiprocessing-library" arrow="true" horizontal>
  Yes, W\&B uses the multiprocessing library. An error message like the following indicates a possible issue: To resolve th ...
</Card>

<Card title="Does logging block my training?" href="/support/models/articles/does-logging-block-my-training" arrow="true" horizontal>
  "Is the logging function lazy? I don't want to depend on the network to send results to your servers while executing loc ...
</Card>

<Card title="Does your tool track or store training data?" href="/support/models/articles/does-your-tool-track-or-store-training-d" arrow="true" horizontal>
  Pass a SHA or unique identifier to wandb.Run.config.update(...) to associate a dataset with a training run. W\&B stores n ...
</Card>

<Card title="How can I access the data logged to my runs directly and programmatically?" href="/support/models/articles/how-can-i-access-the-data-logged-to-my-r" arrow="true" horizontal>
  The history object tracks metrics logged with wandb.log. Access the history object using the API:
</Card>

<Card title="How can I compare images or media across epochs or steps?" href="/support/models/articles/how-can-i-compare-images-or-media-across" arrow="true" horizontal>
  Expand the image panel and use the step slider to navigate through images from different steps. This process facilitates ...
</Card>

<Card title="How can I configure the name of the run in my training code?" href="/support/models/articles/how-can-i-configure-the-name-of-the-run-" arrow="true" horizontal>
  At the beginning of the training script, call wandb.init with an experiment name. For example: wandb.init(name="my\_aweso ...
</Card>

<Card title="How can I define the local location for `wandb` files?" href="/support/models/articles/how-can-i-define-the-local-location-for-" arrow="true" horizontal>
  WANDB\_DIR= or wandb.init(dir= ): Controls the location of the wandb folder created for your training script. Defaults to ...
</Card>

<Card title="How can I organize my logged charts and media in the W&B UI?" href="/support/models/articles/how-can-i-organize-my-logged-charts-and-" arrow="true" horizontal>
  The / character separates logged panels in the W\&B UI. By default, the segment of the logged item's name before the / de ...
</Card>

<Card title="How can I save the git commit associated with my run?" href="/support/models/articles/how-can-i-save-the-git-commit-associated" arrow="true" horizontal>
  When wandb.init is invoked, the system automatically collects git information, including the remote repository link and  ...
</Card>

<Card title="How can I see files that do not appear in the Files tab?" href="/support/models/articles/how-can-i-see-files-that-do-not-appear-i" arrow="true" horizontal>
  The Files tab shows a maximum of 10,000 files. To download all files, use the public API:
</Card>

<Card title="How can I use wandb with multiprocessing, e.g. distributed training?" href="/support/models/articles/how-can-i-use-wandb-with-multiprocessing" arrow="true" horizontal>
  If a training program uses multiple processes, structure the program to avoid making wandb method calls from processes w ...
</Card>

<Card title="How do I add Plotly or Bokeh Charts into Tables?" href="/support/models/articles/how-do-i-add-plotly-or-bokeh-charts-into" arrow="true" horizontal>
  Direct integration of Plotly or Bokeh figures into tables is not supported. Instead, export the figures to HTML and incl ...
</Card>

<Card title="How do I fix `Rate limit exceeded` errors when logging metrics?" href="/support/models/articles/rate-limit-exceeded-on-metric-logging" arrow="true" horizontal>
  If you receive an HTTP 429 Rate limit exceeded error when calling wandb.log(), you are exceeding the rate limit quota fo ...
</Card>

<Card title="How do I get the random run name in my script?" href="/support/models/articles/how-do-i-get-the-random-run-name-in-my-s" arrow="true" horizontal>
  Call a run object's .save() method to save the current run. Retrieve the name using the run object's name attribute.
</Card>

<Card title="How do I launch multiple runs from one script?" href="/support/models/articles/how-do-i-launch-multiple-runs-from-one-s" arrow="true" horizontal>
  Finish previous runs before starting new runs to log multiple runs within a single script. The recommended way to do thi ...
</Card>

<Card title="How do I log a list of values?" href="/support/models/articles/how-do-i-log-a-list-of-values" arrow="true" horizontal>
  These examples show logging losses a couple of different ways using wandb.Run.log(). For more, see the documentation on  ...
</Card>

<Card title="How do I plot multiple lines on a plot with a legend?" href="/support/models/articles/how-do-i-plot-multiple-lines-on-a-plot-w" arrow="true" horizontal>
  Create a multi-line custom chart with wandb.plot.line\_series(). Navigate to the project page to view the line chart. To  ...
</Card>

<Card title="How do I programmatically access the human-readable run name?" href="/support/models/articles/how-do-i-programmatically-access-the-hum" arrow="true" horizontal>
  The .name attribute of a wandb.Run is accessible as follows:
</Card>

<Card title="I didn't name my run. Where is the run name coming from?" href="/support/models/articles/i-didnt-name-my-run-where-is-the-run-nam" arrow="true" horizontal>
  If a run is not explicitly named, W\&B assigns a random name to identify it in your project. Examples of random names are ...
</Card>

<Card title="InitStartError: Error communicating with wandb process" href="/support/models/articles/initstarterror-error-communicating-with-" arrow="true" horizontal>
  This error indicates that the library encounters an issue launching the process that synchronizes data to the server. Th ...
</Card>

<Card title="Is it possible to save metrics offline and sync them to W&B later?" href="/support/models/articles/is-it-possible-to-save-metrics-offline-a" arrow="true" horizontal>
  By default, wandb.init starts a process that syncs metrics in real time to the cloud. For offline use, set two environme ...
</Card>

<Card title="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?" href="/support/models/articles/my-runs-state-is-crashed-on-the-ui-but-i" arrow="true" horizontal>
  You likely lost connection to your machine during training. Recover data by running wandb sync PATH\_TO\_RUN (/models/ref/ ...
</Card>

<Card title="What does wandb.init do to my training process?" href="/support/models/articles/what-does-wandbinit-do-to-my-training-pr" arrow="true" horizontal>
  When wandb.init() runs in a training script, an API call creates a run object on the servers. A new process starts to st ...
</Card>

<Card title="What happens if I pass a class attribute into wandb.Run.log()?" href="/support/models/articles/what-happens-if-i-pass-a-class-attribute" arrow="true" horizontal>
  Avoid passing class attributes into wandb.Run.log(). Attributes may change before the network call executes. When storin ...
</Card>

<Card title="What happens when I log millions of steps to W&B? How is that rendered in the browser?" href="/support/models/articles/what-happens-when-i-log-millions-of-step" arrow="true" horizontal>
  The number of points sent affects the loading time of graphs in the UI. For lines exceeding 1,000 points, the backend sa ...
</Card>

<Card title="What if I want to integrate W&B into my project, but I don't want to upload any images or media?" href="/support/models/articles/what-if-i-want-to-integrate-wb-into-my-p" arrow="true" horizontal>
  W\&B supports projects that log only scalars by allowing explicit specification of files or data for upload. Refer to thi ...
</Card>

<Card title="What if I want to log some metrics on batches and some metrics only on epochs?" href="/support/models/articles/what-if-i-want-to-log-some-metrics-on-ba" arrow="true" horizontal>
  To log specific metrics in each batch and standardize plots, log the desired x-axis values alongside the metrics. In the ...
</Card>

<Card title="What is the difference between wandb.init modes?" href="/support/models/articles/what-is-the-difference-between-wandbinit" arrow="true" horizontal>
  These modes are available: online (default): The client sends data to the wandb server. offline: The client stores data  ...
</Card>

<Card title="Why am I seeing fewer data points than I logged?" href="/support/models/articles/why-am-i-seeing-fewer-data-points-than-i" arrow="true" horizontal>
  When visualizing metrics against an X-axis other than Step, expect to see fewer data points. Metrics must log at the sam ...
</Card>

<Card title="Why are steps missing from a CSV metric export?" href="/support/models/articles/why-are-steps-missing-from-a-csv-metric-" arrow="true" horizontal>
  Export limits can prevent the entire run history from being exported as a CSV or using the run.history API. To access th ...
</Card>

<Card title="Why can't I sort or filter metrics with certain characters?" href="/support/models/articles/why-cant-i-sort-or-filter-metrics-with-c" arrow="true" horizontal>
  Metric names in W\&B must follow GraphQL naming conventions to ensure they can be properly sorted and filtered in the UI. ...
</Card>

<Card title="Why does my process hang when using Hydra with W&B?" href="/support/models/articles/process-hangs-when-using-hydra-with-wan" arrow="true" horizontal>
  If your process hangs when started with Hydra, this is likely caused by a multiprocessing conflict between Hydra and W\&B ...
</Card>

<Card title="Why does my training hang with distributed training?" href="/support/models/articles/training-hangs-with-distributed-trainin" arrow="true" horizontal>
  There are two common reasons training hangs when using W\&B with distributed training: 1. Hanging at the beginning of tra ...
</Card>

<Card title="Why is nothing showing up in my graphs?" href="/support/models/articles/why-is-nothing-showing-up-in-my-graphs" arrow="true" horizontal>
  If the message "No visualization data logged yet" appears, the script has not executed the first wandb.log call. This si ...
</Card>

<Card title="Why is the same metric appearing more than once?" href="/support/models/articles/why-is-the-same-metric-appearing-more-th" arrow="true" horizontal>
  When logging various data types under the same key, split them in the database. This results in multiple entries of the  ...
</Card>

<Card title="Will wandb slow down my training?" href="/support/models/articles/will-wandb-slow-down-my-training" arrow="true" horizontal>
  W\&B has a minimal impact on training performance under normal usage conditions. Normal use includes logging at a rate of ...
</Card>
