pip install realtimeplt
realtimeplt is a Python library made by VisionBrain which foucuses on getting the Live training loss plot in Jupyter Notebook for Keras, PyTorch and TensorFlow.Our main objective is to bring the ability to visualize the data hyperparameters in real time.
- Runs on the latest version of python
- Runs on the latest version of keras
- Runs on the latest version of pytorch
- Runs on the latest version of tensorflow
- keras.ipynb - a Keras callback
- pytorch.ipynb - a bare API, as applied to PyTorch
- 2d_prediction_maps.ipynb - 2d prediction maps
- matplotlib.ipynb - data visualization
- poutyne.ipynb - a pytorch library
The major dependency of realtimeplt is livelossplot
%matplotlib inline
from keras.datasets import mnist
from keras.utils import to_categorical
from keras.models import Sequential
from keras.layers import Flatten, Dense, Activation
# raw keras
from livelossplot import PlotLossesKeras
Note*** Better results when used with Jupyter Notebook.
- Matplotlib
- Seaborn
- SciPy
- Bokeh
PlotLosses
for a generic API.
plotlosses = PlotLosses()
plotlosses.update({'acc': 0.7, 'val_acc': 0.4, 'loss': 0.9, 'val_loss': 1.1})
plot.send() # draw, update logs, etc
Plots: MatplotlibPlot
, BokehPlot
Loggers: ExtremaPrinter
(to standard output), TensorboardLogger
, TensorboardTFLogger
, NeptuneLogger
.
To use them, initialize PlotLosses with some outputs:
plotlosses = PlotLosses(outputs=[MatplotlibPlot(), TensorboardLogger()])
- Make the library to work with any ANN network
- Make this work with OpenCv
- Addation features to be added: Hyperparameter Tuning
realtimeplt is a faster and accurate version and had been adapted from liveplot.