A CLI and library for interacting with the Weights & Biases API.
Project description
Weights and Biases
Use W&B to build better models faster. Track and visualize all the pieces of your machine learning pipeline, from datasets to production machine learning models. Get started with W&B today, sign up for an account!
See the W&B Developer Guide and API Reference Guide for a full technical description of the W&B platform.
Quickstart
Get started with W&B in four steps:
-
First, sign up for a W&B account.
-
Second, install the W&B SDK with pip. Navigate to your terminal and type the following command:
pip install wandb
- Third, log into W&B:
wandb.login()
- Use the example code snippet below as a template to integrate W&B to your Python script:
import wandb
# Start a W&B Run with wandb.init
run = wandb.init(project="my_first_project")
# Save model inputs and hyperparameters in a wandb.config object
config = run.config
config.learning_rate = 0.01
# Model training code here ...
# Log metrics over time to visualize performance with wandb.log
for i in range(10):
run.log({"loss": ...})
# Mark the run as finished, and finish uploading all data
run.finish()
For example, if the preceding code was stored in a script called train.py:
python train.py
You will see a URL in your terminal logs when your script starts and finishes. Data is staged locally in a directory named wandb relative to your script. Navigate to the W&B App to view a dashboard of your first W&B Experiment. Use the W&B App to compare multiple experiments in a unified place, dive into the results of a single run, and much more!
Integrations
Use your favorite framework with W&B. W&B integrations make it fast and easy to set up experiment tracking and data versioning inside existing projects. For more information on how to integrate W&B with the framework of your choice, see W&B Integrations in the W&B Developer Guide.
Contribution guidelines
Weights & Biases ❤️ open source, and we welcome contributions from the community! See the Contribution guide for more information on the development workflow and the internals of the wandb library. For wandb bugs and feature requests, visit GitHub Issues or contact support@wandb.com.
Academic Researchers
Reach out to W&B Support at support@wandb.com to get a free academic license for you and your research group.
W&B Community
Be a part of the growing W&B Community and interact with the W&B team in our Discord. Stay connected with the latest ML updates and tutorials with W&B Fully Connected.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file wandb-0.18.7.tar.gz
.
File metadata
- Download URL: wandb-0.18.7.tar.gz
- Upload date:
- Size: 9.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00f9891558d4833ee47f21ce6c603499f0bd1a7ce117ff55ee1a041e9094f9a2 |
|
MD5 | 11ae67941d7d0eb6c30f71d9057ac398 |
|
BLAKE2b-256 | d51081cd2519a92c5dc76f0a3553daa32bc58875e05abae6eca4509e65c87d63 |
File details
Details for the file wandb-0.18.7-py3-none-win_amd64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-win_amd64.whl
- Upload date:
- Size: 15.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba9fda6dd7db02a23c6b302411fe26c3fcfea4947cc130a65e1de19812d324e |
|
MD5 | ff4622217b6ef14d47e789d0e9b0f38c |
|
BLAKE2b-256 | 1fd31996ef42e58a049d6b2d6c3e3f0c8d7d38a286f707c515672a928fd9eb6c |
File details
Details for the file wandb-0.18.7-py3-none-win32.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-win32.whl
- Upload date:
- Size: 15.5 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a42b63c9b9e552b51e51b35caf26d81675dbc012317bc2701e39b3d84d479354 |
|
MD5 | e8dd9223bbb48ecff41aa1e55a63bc9e |
|
BLAKE2b-256 | 6229465482fa31ee52e310df09b365ea1f498799b1aba9b7520f9f27f83eb371 |
File details
Details for the file wandb-0.18.7-py3-none-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 16.2 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ca272660d880ba007aa7b4be2f88160692b2f12dccd431bd2f6471c85e68986 |
|
MD5 | 4885c89d1f7998a607e51fa7490df0bf |
|
BLAKE2b-256 | a634fccdb0a3001200eadcf660558e549be895f18e0a10658fa957712fe02333 |
File details
Details for the file wandb-0.18.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 16.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3133683a5b3bd3a50cf498e6b5ecc7406738619ae9f245326a9fa2e80ad313f |
|
MD5 | 09a15a12a45012987877055f4f6f443f |
|
BLAKE2b-256 | a3658af6447adb236c0b487ae44f370cb24c8afda678b5acf7f1cb4469739048 |
File details
Details for the file wandb-0.18.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 15.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e261e9f87005a4487548137d04bfa10fa14e3306b9901bc6ac2f3335c73df7c6 |
|
MD5 | 2697790ed123105f3f2cd2e2982fee94 |
|
BLAKE2b-256 | 8fbc1688dd13505479f2a1901728e7d0e7b572ea7d9233af9beff62edf9a42fa |
File details
Details for the file wandb-0.18.7-py3-none-macosx_11_0_x86_64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-macosx_11_0_x86_64.whl
- Upload date:
- Size: 15.9 MB
- Tags: Python 3, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31d2115c558257406bf9beffe13d42313d958f2809cb15123a8e6a6d18d66c6 |
|
MD5 | 94d327bd01bf81edc4900e0ce03397d5 |
|
BLAKE2b-256 | 0be71cfc141d8ea5138cfa8bc6383b9047c7e0c26873ce15e43bc5db8fa5f249 |
File details
Details for the file wandb-0.18.7-py3-none-macosx_11_0_arm64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 15.2 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87209f5aed8dbcf4b699ce745d096bc13b3cb66217efa5c44dd772d4f7fe7836 |
|
MD5 | 39cc7d83e39bb6828a2c2c55a10a7027 |
|
BLAKE2b-256 | de7f23f776942928bc9aea4d167030c39f4aee23fe07159ab5341bba8bb05a7f |
File details
Details for the file wandb-0.18.7-py3-none-macosx_10_13_x86_64.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-macosx_10_13_x86_64.whl
- Upload date:
- Size: 15.8 MB
- Tags: Python 3, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb2d381b20a079d7bb519b1b5cbbd94a10e941a2a0c5ccc044748b00344a294 |
|
MD5 | 03caaef46396b96ec57a02ee22489d6f |
|
BLAKE2b-256 | 0c6dcf600f649090d3c3f8ac86becf10a1d3d5c1ce305389c4d02cc9488fb8d0 |
File details
Details for the file wandb-0.18.7-py3-none-any.whl
.
File metadata
- Download URL: wandb-0.18.7-py3-none-any.whl
- Upload date:
- Size: 6.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b9f9fea6daf8b62a505ea5d77d7e5e375c6014947a8882c0497399a9a1e4af |
|
MD5 | eaa3564b082c54ac12c2ebe8f759301a |
|
BLAKE2b-256 | d178ca2444c41bcacd6b49846cfa853698935c656f4419f38d0860177b31763c |