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

# wandb online

[View source](https://github.com/wandb/wandb/blob/v0.31.0/wandb/cli/cli.py#L3317)

## 使用方法

```bash theme={"system"}
online [OPTIONS]
```

## 説明

W\&B の run のクラウド同期を再度有効にします。

オフラインモードの設定を解除し、このディレクトリで以降実行される run が
W\&B クラウドにデータを同期するようにします。

以前に実行した `wandb offline` を取り消します。

たとえば、オフラインで作業した後にクラウド同期を再度有効にするには、次のようにします。

```bash theme={"system"}
wandb online
```

クラウド同期を再度有効にして学習スクリプトを実行するには、次のようにします。

```bash theme={"system"}
wandb online && python train.py
```
