stared/livelossplot

Live training loss plot in Jupyter Notebook for Keras, PyTorch and others

What it solves

livelossplot provides a way to visualize training progress in real-time within Jupyter Notebooks. It solves the problem of "training blindfolded," where developers rely on text logs to determine if a model is learning, stagnating, or overfitting.

How it works

The library provides a generic API (PlotLosses) and specialized callbacks for popular deep learning frameworks like Keras, PyTorch, Poutyne, and Ignite. During training, the library updates a plot with metrics (such as loss and accuracy) and renders it directly in the notebook cell output.

Who it’s for

Data scientists and researchers who use Jupyter Notebooks for exploration, teaching, or training small models and prefer a simple, plug-and-play alternative to complex tools like TensorBoard.

Highlights

  • Framework Agnostic: Supports Keras, PyTorch, and other frameworks via a bare API or dedicated callbacks.
  • Multiple Output Options: Supports rendering via Matplotlib and Bokeh.
  • Multiple Loggers: Includes loggers for standard output (ExtremaPrinter) and TensorBoard.
  • Jupyter Integration: Designed specifically for seamless live updates in Jupyter Notebook environments.

Related

  • Project
  • Project
  • Project
  • Project
  • Project