Run Quickstart

introwandb-examplescolabs

Open In Colab

##Use W&B to track, visualize, and manage machine learning experiments of any size. To authenticate your machine with W&B, you need a W&B API key. Save key to Google Colab Secrets under name WANDB_API_KEY. Enable notebook access for key.

A run is a core element of W&B. You use runs to track metrics, create logs, track artifacts, and more.

[ ]
[ ]

Set up project and track hyperparameters

[ ]

Create a machine learning training experiment

This mock training script logs simulated accuracy and loss metrics to W&B.

Initialize a W&B run object with wandb.init(). Use a dictionary for the config parameter to specify hyperparameter names and values. Within the with statement, you can log metrics and other information to W&B.

[ ]

Visit the custom "View run" link in the prior cell's output (or go to wandb.ai/home) to view recorded metrics such as accuracy and loss and how they changed during each training step. W&B Runs show the loss and accuracy tracked from each run. Each run object appears in the Runs page with auto-generated names.