Where are artifacts downloaded, and how can I control that?
less than a minute
By default, artifacts download to the artifacts/
folder. To change the location:
-
Pass it to
wandb.Artifact().download
:wandb.Artifact().download(root="<path_to_download>")
-
Set the
WANDB_ARTIFACT_DIR
environment variable:import os os.environ["WANDB_ARTIFACT_DIR"] = "<path_to_download>"
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.