Skip to main content
GitHub source

Usage

wandb init [OPTIONS]

Description

Initialize or update W&B configuration for the current directory. Set a project and entity, create local W&B settings, and prepare the directory for experiment tracking.

Examples

Set up W&B for the current directory with guided prompts for team and project selection.
wandb init
Set the default project to “foobar-project” and the default entity to “team-awesome” without prompts.
wandb init --project foobar-project --entity team-awesome
Set the W&B mode to offline
wandb init --mode offline
Reset existing W&B configuration for the current directory
wandb init --reset

Options

FlagTypeDescription
--project, -pSTRSet the project to upload runs to. Default: None
--entity, -eSTRSet the entity to scope the project to. Default: None
--resetBOOL FlagReset existing W&B configuration for the directory. Default: False
--mode, -mSTRSet the W&B mode. One of ‘online’, ‘offline’, or ‘disabled’. Default: None