wandb.init()once at the beginning of your script to initialize a new job. This creates a new run in W&B and launches a background process to sync data.
run = wandb.init(reinit=True): Use this setting to allow reinitializing runs
run.finish(): Use this at the end of your run to finish logging for that run
InitStartError: Error communicating with wandb process
wandb.init(). There are several approaches to managing multiprocess training:
wandb.initis called in your script, we automatically look for git information to save, including a link to a remote repo and the SHA of the latest commit. The git information should show up on your run page. If you aren't seeing it appear there, make sure that your shell's current working directory when executing your script is located in a folder managed by git.
wandb.initstarts a process that syncs metrics in real time to our cloud hosted app. If your machine is offline, you don't have internet access, or you just want to hold off on the upload, here's how to run
wandbin offline mode and sync later.
LaunchError: Permission denied
Launch Error: Permission denied, you don't have permissions to log to the project you're trying to send runs to. This might be for a few different reasons.
wandb loginon the command line.