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

Feauture request: Allow to simultaneously plot metric #64

Closed renatobellotti closed 4 years ago

renatobellotti commented 5 years ago

It would be nice to have two subplots (or even more, if one wants to observe different metrics):

One should display the loss (as is currently possible), and the other one next to it should display a loss (selectable by user).

I hope other people would like that as well.

stared commented 5 years ago

@renatobellotti Could you draw it? I am not sure if you mean something in the line of ipython widgets, or something?

renatobellotti commented 5 years ago

I mean that you display two axes objects in the same figure. Something like this, but updated in realtime during training and with different content.

The x-axis of both graphs could be shared (number of epochs), and the y-axis of the top-most graph could contain the loss, while the other graph's y-axis represents the metric. Ideally, multiple subplots for different metrics would be nice.

stared commented 4 years ago

@renatobellotti With livelossplot 0.5.0 you can group metrics in plots as you wish.

renatobellotti commented 4 years ago

Nice, thank you!