I'm training a neural net in Theano and lasagne, running the code in an iPython notebook. I like having the train and valid loss displayed at each iteration, like this:
epoch train loss valid loss train/val valid acc dur
------- ------------ ------------ ----------- ----------- -----
1 0.53927 0.22774 2.36794 0.93296 5.45s
2 0.28789 0.16561 1.73840 0.95033 5.40s
but I would also like to see the live/dynamic plot of the two losses. Is there a built-in way to do so?
I have tried creating a custom class and adding it to my net's on_epoch_finished
, but either I get a new plot at each iteration (I'd like a single one, updating), either I have to erase the previous output at each iteration, and thus cannot see the text output (which I want to keep).