wandb.init で save_code=True を使用します。run のすべてのコードを保存するには、Artifacts でコードをバージョン管理します。次の例は、このプロセスを示しています。
Artifacts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Help us improve these docs. Take our quick survey.
wandb.init で save_code=True を使用します。run のすべてのコードを保存するには、Artifacts でコードをバージョン管理します。次の例は、このプロセスを示しています。
code_artifact = wandb.Artifact(type="code")
code_artifact.add_file("./train.py")
wandb.log_artifact(code_artifact)
Was this page helpful?