Skip to main content

Do environment variables overwrite the parameters passed to wandb.init()?

Arguments passed to wandb.init override environment variables. To set a default directory other than the system default when the environment variable isn't set, use wandb.init(dir=os.getenv("WANDB_DIR", my_default_override)).

Was this page helpful?๐Ÿ‘๐Ÿ‘Ž