> ## 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.

# wandb.init のモードの違いは何ですか？

`wandb.init` を呼び出すときに、クライアントが W\&B サーバーとどのように通信するかを制御するモードを選択できます。使用可能なモードは次のとおりです。

* `online` (デフォルト) : クライアントはデータを W\&B サーバーに送信します。
* `offline`: クライアントはデータを W\&B サーバーに送信せず、マシン上にローカル保存します。後でデータを同期するには、[`wandb sync`](/ja/models/ref/cli/wandb-sync) コマンドを使用します。
* `disabled`: クライアントはモックオブジェクトを返して動作をシミュレートし、ネットワーク通信を一切行いません。クライアントはすべてのログ記録をオフにしますが、すべての API method スタブは引き続き呼び出し可能です。テストにはこのモードを使用します。

***

<Badge stroke shape="pill" color="orange" size="md">[Experiments](/ja/support/models/tags/experiments)</Badge>
