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

# Sweeps

<Card title="ハイパーパラメーター探索を整理するためのベストプラクティス" href="/ja/support/models/articles/best-practices-to-organize-hyperparamete" arrow="true" horizontal>
  多数のハイパーパラメーター探索を実行する場合は、run にタグを付けておくと、後で関連する実験をグループ化して検索できます。run にタグを付け ...
</Card>

<Card title="sweep 内で run を再開できますか？" href="/ja/support/models/articles/can-i-resume-a-run-inside-a-sweep" arrow="true" horizontal>
  W\&B sweep 内での run の再開はサポートされていません。sweep エージェントの実行中に run\_id を渡したり wandb.init(resume=...) を使用したりすると ...
</Card>

<Card title="sweep のローカルのログ出力先ディレクトリを変更するにはどうすればよいですか？" href="/ja/support/models/articles/how-can-i-change-the-directory-my-sweep-" arrow="true" horizontal>
  run データのログ ディレクトリを設定するには、環境変数 WANDB\_DIR を設定します。例:
</Card>

<Card title="Python コードで sweep を再開するにはどうすればよいですか？" href="/ja/support/models/articles/how-can-i-resume-a-sweep-using-python-co" arrow="true" horizontal>
  sweep を再開するには、wandb.agent() 関数に sweep\_id を渡します。
</Card>

<Card title="sweep 内の run からモデルをログする最適な方法を教えてください" href="/ja/support/models/articles/how-do-i-best-log-models-from-runs-in-a-" arrow="true" horizontal>
  sweep でモデルをログするには、sweep 用のモデル アーティファクトを作成します。各バージョンが sweep 内の個々の run に対応します。...
</Card>

<Card title="Sweeps でコードのログを有効にするにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-enable-code-logging-with-sweeps" arrow="true" horizontal>
  sweep でコードのログを有効にするには、W\&B run の初期化後に wandb.log\_code() を追加します。このステップは次の場合でも必要です ...
</Card>

<Card title="sweep 中の `CommError, Run does not exist` を解決するにはどうすればよいですか？" href="/ja/support/models/articles/commerror-run-does-not-exist-during-swee" arrow="true" horizontal>
  sweep 中に CommError, Run does not exist と ERROR Error uploading の両方が表示される場合、最も考えられる原因は ...
</Card>

<Card title="sweep 中の `Cuda out of memory` を解決するにはどうすればよいですか？" href="/ja/support/models/articles/cuda-out-of-memory-during-a-sweep" arrow="true" horizontal>
  sweep 中に Cuda out of memory が表示される場合は、プロセスベースで実行するようにコードをリファクタリングしてください。コードを次のように書き換えます ...
</Card>

<Card title="sweep 中の `anaconda 400 error` を解決するにはどうすればよいですか？" href="/ja/support/models/articles/anaconda-400-error-during-a-sweep" arrow="true" horizontal>
  sweep 中の anaconda 400 error は、多くの場合、最適化対象のメトリクスをログしていないことが原因です。次のように表示されることがあります: The sweep c ...
</Card>

<Card title="ブール変数をハイパーパラメーターとしてフラグ指定するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-flag-boolean-variables-as-hyperparameters" arrow="true" horizontal>
  ハイパーパラメーターをブール フラグとして渡すには、sweep 設定のコマンド セクションでマクロを使用します。このマクロは自動的に ...
</Card>

<Card title="グリッドサーチを再実行するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-rerun-a-grid-search" arrow="true" horizontal>
  グリッドサーチは完了したものの一部の W\&B run がクラッシュした場合は、それらの run を削除すると再実行できます。その後、Resume ボタンを選択します ...
</Card>

<Card title="sweep でハイパーパラメーターのデフォルト値を設定するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-set-default-hyperparameter-values-in-a-sweep" arrow="true" horizontal>
  W\&B Sweep では、すべてのハイパーパラメーターに値を指定する必要はありません。デフォルト値を設定しておき、sweep で上書きすることができます ...
</Card>

<Card title="SageMaker で W&B Sweeps を使用するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-use-sweeps-with-sagemaker" arrow="true" horizontal>
  W\&B Sweeps を Amazon SageMaker と組み合わせると、SageMaker のトレーニング ジョブでハイパーパラメーター探索を実行できます。認証するには ...
</Card>

<Card title="クラウド インフラストラクチャーで W&B Sweeps を使用するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-use-sweeps-with-cloud-infrastructure" arrow="true" horizontal>
  AWS Batch や ECS などのクラウド インフラストラクチャーで W\&B Sweep を実行するには、sweep\_id をパブリッシュして、どの W\&B Sweep エージェントからも ...
</Card>

<Card title="sweep でカスタム CLI コマンドを使用するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-use-custom-cli-commands-with-sw" arrow="true" horizontal>
  トレーニング設定がコマンドライン引数を受け渡す場合、W\&B Sweeps をカスタム CLI コマンドと組み合わせて使用できます。これにより ...
</Card>

<Card title="W&B で並列座標チャートを使用するにはどうすればよいですか？" href="/ja/support/models/articles/how-do-i-use-the-parallel-coordinates-chart-in-wandb" arrow="true" horizontal>
  並列座標チャートは、多数の run にわたるハイパーパラメーターとメトリクスの関係を示します。各線は 1 つの run を表し、各 ...
</Card>

<Card title="SLURM で sweep を実行するにはどうすればよいですか？" href="/ja/support/models/articles/how-should-i-run-sweeps-on-slurm" arrow="true" horizontal>
  SLURM スケジューリングシステムで W\&B の sweep を実行するには、スケジュールされた各ジョブで wandb agent --count 1 SWEEP\_ID を実行します。エージェントは ...
</Card>

<Card title="sweep に値を追加する方法はありますか？それとも新しい sweep を開始する必要がありますか？" href="/ja/support/models/articles/is-there-a-way-to-add-extra-values-to-a-" arrow="true" horizontal>
  W\&B Sweep の開始後は、sweep 設定を変更できません。ただし、任意の表ビューにアクセスして run を選択 ...
</Card>

<Card title="複数のメトリクスの最適化" href="/ja/support/models/articles/optimizing-multiple-metrics" arrow="true" horizontal>
  W\&B Sweeps は単一の目的メトリクスを最適化します。単一の run で複数のメトリクスを最適化するには、それらを重み付け ...
</Card>

<Card title="sweep の実行中に Python ファイルを編集するとどうなりますか？" href="/ja/support/models/articles/what-happens-if-i-edit-my-python-files-w" arrow="true" horizontal>
  動作は編集するファイルによって異なります。sweep の実行中: sweep が使用する train.py スクリプトが変更 ...
</Card>

<Card title="`Est. Runs` 列とは何ですか？" href="/ja/support/models/articles/what-is-the-est-runs-column" arrow="true" horizontal>
  離散的な探索空間で W\&B Sweep を作成すると、W\&B は生成される run の推定数を表示します。この合計は ...
</Card>

<Card title="sweep エージェントが新しい run を取得しないのはなぜですか？" href="/ja/support/models/articles/why-is-my-sweep-agent-not-picking-up-new-runs" arrow="true" horizontal>
  sweep エージェントが起動しても新しい run 設定を受け取らない場合、または 1 つの run を受け取った後にアイドル状態になる場合、いくつかの ...
</Card>
