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

# sweep の実行中に `CommError, Run does not exist` を解消するにはどうすればよいですか？

sweep の実行中に `CommError, Run does not exist` と `ERROR Error uploading` の両方が表示される場合、最も可能性が高い原因は、コード内で run ID を手動で設定していることです。

```python theme={null}
wandb.init(id="some-string")
```

W\&B Sweeps では run ID を設定できません。sweep によって作成された run には、W\&B がランダムな一意の ID を自動的に生成するためです。Run ID は project 内で一意である必要があります。

これを修正するには、`wandb.init()` から `id` パラメーターを削除してください。テーブルやグラフに表示されるカスタム名を設定したい場合は、代わりに `name` パラメーターを使用してください:

```python theme={null}
wandb.init(name="a helpful readable run name")
```

詳細は、[Sweeps のトラブルシューティング](/ja/models/sweeps/troubleshoot-sweeps/)を参照してください。

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/ja/support/models/tags/sweeps)</Badge><Badge stroke shape="pill" color="orange" size="md">[Runs](/ja/support/models/tags/runs)</Badge>
