stared / livelossplot

Live training loss plot in Jupyter Notebook for Keras, PyTorch and others
https://p.migdal.pl/livelossplot
MIT License
1.29k stars 143 forks source link

Training plot shows but not the curve. #61

Closed MichaelSchroter closed 5 years ago

MichaelSchroter commented 5 years ago

Hi All,

I used the livelossplot for model training. Even though, all works fine including the model training but in the plot the training and validation curves are not shown. However, when I refresh the jupyter notebook and run it from beginning the full graphs are displayed. But when I want to do model tuning the curves do not display. May be .ipynb file is large. I do not know.

Would anyone be able to help me on this regard. The modules that were used for the visualisation are below:

from IPython.display import SVG
import livelossplot
plot_losses = livelossplot.PlotLossesKeras()

Also please find the image of the training graph without the training and validation curves below:

Screenshot_2019-05-14_14-00-13

Your input in this issue is much appreciated.

Thanks

Michael

MichaelSchroter commented 5 years ago

Hi All,

Some good news. I found the solution for the problem. I need to include the plot_losses = livelossplot.PlotLossesKeras() line, in the cell where the neural network is included in jupyter notebook. Then it will start to plot the curves.

Screenshot_2019-05-14_20-45-48

Thanks

Michael