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

# Sweeps

<Card title="ハイパーパラメーター探索を整理するためのベストプラクティス" href="/ja/support/models/articles/best-practices-to-organize-hyperparamete" arrow="true" horizontal>
  多数のハイパーパラメーター探索を実行する場合は、Runs にタグを付けておくと、後で関連する実験をグループ化して検索できます。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 の再開はサポートされていません。run\_id を渡すか、sweep エージェントの実行中に wandb.init(resume=...) を使用すると、...
</Card>

<Card title="sweep がローカルにログを保存するディレクトリを変更するにはどうすればよいですか?" href="/ja/support/models/articles/how-can-i-change-the-directory-my-sweep-" arrow="true" horizontal>
  WANDB\_DIR 環境変数を設定して、run データのログ保存先ディレクトリを指定します。例:
</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 内の Runs からモデルをログする最適な方法は何ですか?" href="/ja/support/models/articles/how-do-i-best-log-models-from-runs-in-a-" arrow="true" horizontal>
  sweep でモデルをログするには、その sweep 用の model artifact を作成します。各バージョンは sweep 内の異なる run を表します。 ...
</Card>

<Card title="sweep で Code logging を有効にするにはどうすればよいですか?" href="/ja/support/models/articles/how-do-i-enable-code-logging-with-sweeps" arrow="true" horizontal>
  sweep で Code logging を有効にするには、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 の両方が表示される場合、最も可能性が高い原因は yo ... です
</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 設定の command セクションで macro を使用します。この macro は au ...
</Card>

<Card title="グリッドサーチを再実行するにはどうすればよいですか?" href="/ja/support/models/articles/how-do-i-rerun-a-grid-search" arrow="true" horizontal>
  グリッドサーチが完了しても一部の W\&B Runs がクラッシュした場合は、それらの Runs を削除して再実行します。次に、... の 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="W&B Sweep を SageMaker で使用するにはどうすればよいですか?" href="/ja/support/models/articles/how-do-i-use-sweeps-with-sagemaker" arrow="true" horizontal>
  Amazon SageMaker で W\&B Sweep を使用して、SageMaker のトレーニングジョブ上でハイパーパラメーター探索を実行できます。認証するには ...
</Card>

<Card title="W&B Sweep をクラウドインフラストラクチャーで使用するにはどうすればよいですか?" href="/ja/support/models/articles/how-do-i-use-sweeps-with-cloud-infrastructure" arrow="true" horizontal>
  AWS Batch や ECS などのクラウドインフラストラクチャー上で W\&B Sweep を実行するには、任意の W\&B Sweep エージェント が ca ... できるように sweep\_id を公開します
</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 コマンドを使用できます。これにより、r ...
</Card>

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

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

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

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

<Card title="sweep の実行中に Python ファイルを編集するとどうなりますか？" href="/ja/support/models/articles/what-happens-if-i-edit-my-python-files-w" arrow="true" horizontal>
  どの file を編集するかによって動作は異なります。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 は、離散的な検索空間で W\&B Sweep を作成する際に生成される Runs の推定数を提供します。この合計は re ...
</Card>

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