The window into what your model is doing
TensorBoard is TF's visualization suite — a browser dashboard that turns the opaque process of neural network training into a visual story. Instrument training to write event files to a log directory, then launch TensorBoard to explore interactively.
TF 2.21 change: TensorBoard is no longer bundled with TF. Install separately:
pip install tensorboard. Launch with tensorboard --logdir logs/ and open http://localhost:6006.
The dashboards you'll use:
- Scalars — loss, accuracy, LR over steps. The first thing you'll look at.
- Graphs — visualize the model architecture, debug shapes
- Histograms — weight/gradient distributions over time, spot dead neurons
- Images — sample images, attention maps, heatmaps
- Projector — embedding visualization (PCA, t-SNE, UMAP)
- Profile — GPU/TPU utilization, op timing, input pipeline analysis
- HParams — hyperparameter sweep comparisons
- What-If Tool — model fairness, counterfactuals, slice analysis