W&B Reports
Create interactive, shareable documents that combine live experiment visualizations with narrative context for team communication.
What Are Reports?
W&B Reports are interactive documents that pull live data from your experiments. Unlike static notebooks or slides, Reports update automatically when new runs complete, making them ideal for ongoing project documentation.
Creating Reports Programmatically
import wandb
import wandb.apis.reports as wr
report = wr.Report(
project="my-project",
title="Model Comparison: ResNet vs EfficientNet",
description="Comparing architectures on ImageNet subset"
)
# Add text blocks
report.blocks = [
wr.H1("Experiment Overview"),
wr.P("This report compares ResNet50 and EfficientNet-B0 "
"trained on a subset of ImageNet."),
wr.H2("Training Curves"),
wr.PanelGrid(
panels=[
wr.LinePlot(x="epoch", y=["train_loss", "val_loss"],
title="Loss Curves"),
wr.LinePlot(x="epoch", y=["train_acc", "val_acc"],
title="Accuracy Curves"),
],
runsets=[wr.Runset(project="my-project")]
),
wr.H2("Key Findings"),
wr.UnorderedList([
"EfficientNet-B0 achieves 2.3% higher accuracy",
"ResNet50 trains 1.5x faster per epoch",
"Both models converge by epoch 30",
]),
]
report.save()
print(f"Report URL: {report.url}")
Report Block Types
| Block | Purpose | API Class |
|---|---|---|
| Text | Markdown headings, paragraphs, lists | wr.H1, wr.P, wr.UnorderedList |
| Panel Grid | Charts and visualizations from runs | wr.PanelGrid |
| Line Plot | Time-series metrics | wr.LinePlot |
| Bar Plot | Comparative metrics | wr.BarPlot |
| Scatter Plot | Correlation analysis | wr.ScatterPlot |
| Code Block | Code snippets with syntax highlighting | wr.CodeBlock |
| LaTeX | Mathematical equations | wr.LaTeX |
Report Use Cases
Weekly team updates
Create a template report that auto-updates with the latest experiment results each week.
Model comparison documents
Side-by-side visualizations of different architectures, hyperparameters, or datasets.
Experiment postmortems
Document what worked, what didn't, and why - with live links to the actual runs.
Stakeholder presentations
Share polished reports with non-technical stakeholders who need to see results without the dashboard.
Ready to Go Deeper?
Live instructor-led courses from our partners. Affiliate disclosure.
AI & ML Courses - 30% Off
Live instructor-led AI, machine learning, data science, and cloud courses for working professionals. Use code Limited30 at checkout.
EdurekaDataCamp - AI & Data Science
Hands-on Python, machine learning, and AI courses with interactive exercises and real projects.
DataCampedX - Top AI Courses
University-level AI courses from MIT, Harvard, Stanford. Earn certificates that employers recognize.
edX