Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wb-21fd5541-mintlify-style-consistency-1776283399.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

wandb.initsave_code=True を使用すると、 Run を開始したメインの スクリプト や ノートブック を保存できます。 Run のすべての コード を保存するには、 Artifacts を使用して コード を バージョン 管理してください。以下の例でその プロセス を示します。
# コードを Artifact として作成
code_artifact = wandb.Artifact(type="code")
# train.py ファイルを追加
code_artifact.add_file("./train.py")
# Artifact をログに記録
wandb.log_artifact(code_artifact)