Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A CLI and library for interacting with the Weights and Biases API.

Project description



Weights and Biases ci pypi

The W&B client is an open source library and CLI (wandb) for organizing and analyzing your machine learning experiments. Think of it as a framework-agnostic lightweight TensorBoard that persists additional information such as the state of your code, system metrics, and configuration parameters.

Features

  • Store config parameters used in a training run
  • Associate version control with your training runs
  • Search, compare, and visualize training runs
  • Analyze system usage metrics alongside runs
  • Collaborate with team members
  • Run parameter sweeps
  • Persist runs forever

Quickstart

pip install wandb

In your training script:

import wandb
# Your custom arguments defined here
args = ...

run = wandb.init(config=args)
run.config["more"] = "custom"

def training_loop():
    while True:
        # Do some machine learning
        epoch, loss, val_loss = ...
        # Framework agnostic / custom metrics
        wandb.log({"epoch": epoch, "loss": loss, "val_loss": val_loss})

Running your script

Run wandb signup from the directory of your training script. If you already have an account, you can run wandb init to initialize a new directory. You can checkin wandb/settings to version control to share your project with other users.

Run your script with python my_script.py and all metadata will be synced to the cloud. Data is staged locally in a directory named wandb relative to your script. If you want to test your script without syncing to the cloud you can run wandb off.

Runs screenshot

Detailed Usage

Framework specific and detailed usage can be found in our documentation.

Project details


Release history Release notifications

This version
History Node

0.6.8

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.5.22

History Node

0.5.21

History Node

0.5.20

History Node

0.5.19

History Node

0.5.18

History Node

0.5.17

History Node

0.5.16

History Node

0.5.14

History Node

0.5.13

History Node

0.5.12

History Node

0.5.11

History Node

0.5.10

History Node

0.5.9

History Node

0.5.8

History Node

0.5.7

History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.4.46

History Node

0.4.45

History Node

0.4.44

History Node

0.4.43

History Node

0.4.42

History Node

0.4.41

History Node

0.4.40

History Node

0.4.39

History Node

0.4.38

History Node

0.4.37

History Node

0.4.36

History Node

0.4.35

History Node

0.4.34

History Node

0.4.33

History Node

0.4.32

History Node

0.4.31

History Node

0.4.30

History Node

0.4.29

History Node

0.4.28

History Node

0.4.27

History Node

0.4.26

History Node

0.4.25

History Node

0.4.24

History Node

0.4.23

History Node

0.4.22

History Node

0.4.21

History Node

0.4.20

History Node

0.4.19

History Node

0.4.18

History Node

0.4.17

History Node

0.4.16

History Node

0.4.15

History Node

0.4.14

History Node

0.4.13

History Node

0.4.12

History Node

0.4.11

History Node

0.4.10

History Node

0.4.9

History Node

0.4.8

History Node

0.4.7

History Node

0.4.6

History Node

0.4.5

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
wandb-0.6.8-py2.py3-none-any.whl (83.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 13, 2018
wandb-0.6.8.tar.gz (298.7 kB) Copy SHA256 hash SHA256 Source None Jun 13, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page