Glossary

Weights & Biases

Streamline your machine learning workflows with Weights & Biases. Track, visualize, and collaborate on experiments for faster, reproducible AI development.

Train YOLO models simply
with Ultralytics HUB

Learn more

Weights & Biases (W&B) is a platform designed to streamline machine learning workflows by providing tools for experiment tracking, data and model versioning, and collaboration. It acts as a central hub for Machine Learning Operations (MLOps), helping individuals and teams manage the complexities of developing and deploying AI models, including Ultralytics YOLO models. It facilitates better understanding of model performance, reproducibility of experiments, and overall efficiency in the AI development lifecycle.

What Is Weights & Biases?

Weights & Biases is a comprehensive MLOps platform aimed at enhancing the productivity of machine learning (ML) practitioners. It provides a systematic way to log, track, and visualize every component of an ML experiment, including datasets (like COCO or custom ones managed via Ultralytics HUB), hyperparameters, training metrics like accuracy and loss, code versions, and resulting model weights. By offering a clear, organized dashboard, W&B simplifies the process of comparing different experimental runs, debugging models, and sharing findings with collaborators. It integrates smoothly with popular frameworks such as PyTorch and TensorFlow, making it adaptable for various AI projects, from computer vision (CV) to natural language processing (NLP).

It's important to distinguish the Weights & Biases platform from the concepts of "weights" and "biases" within a neural network (NN). In a neural network, weights and biases are the learnable parameters that the model adjusts during training using optimization algorithms to minimize the loss function. Weights determine the strength of the connection between neurons, while biases provide an offset, allowing the activation function threshold to shift. Weights & Biases, the platform, is the tool used to track and manage the experiments that aim to find the optimal values for these neural network parameters. You can learn more about integrating Ultralytics with W&B in the documentation.

Key Features of Weights & Biases

Weights & Biases offers several features to support the ML lifecycle:

Real-World Applications of Weights & Biases

Weights & Biases is widely used across various industries to improve machine learning development processes.

  1. Developing Computer Vision Models: A team training an Ultralytics YOLOv8 model for object detection in autonomous vehicles can use W&B to log training runs with different data augmentation strategies or backbone architectures. They can visualize the impact on precision and recall metrics on datasets like Argoverse, compare results in the W&B dashboard, and version the best performing model weights using Artifacts for later deployment. Read about Ultralytics and W&B integration.
  2. Medical Image Analysis: Researchers performing medical image analysis to detect diseases, for instance, using a model trained on the Brain Tumor dataset, can leverage W&B. They can track experiments involving fine-tuning pre-trained models, visualize segmentation masks or classification accuracy, monitor GPU usage during lengthy training sessions, and collaborate by sharing detailed reports of their findings, ensuring transparency and reproducibility in sensitive applications. This aligns with the goals of explainable AI (XAI).

By providing a structured environment for managing the ML lifecycle, Weights & Biases helps teams build better models faster and facilitates collaboration and reproducibility in AI development. You can explore how to integrate W&B with your Ultralytics projects via the official documentation.

Read all