- Set the environment variable
WANDB_MODE=offlineto save metrics locally without an internet connection. - When you’re ready to upload, run
wandb initin your directory to set the project name. - Run
wandb sync [RUN-DIRECTORY]to transfer your metrics to W&B and view your results in the web app. Replace[RUN-DIRECTORY]with the path to your local run directory.
run.settings._offline or run.settings.mode after you call wandb.init().
Experiments Environment Variables