Skip to content

Instantly share code, notes, and snippets.

@stared
Last active February 25, 2023 10:20
Show Gist options
  • Save stared/dfb4dfaf6d9a8501cd1cc8b8cb806d2e to your computer and use it in GitHub Desktop.
Save stared/dfb4dfaf6d9a8501cd1cc8b8cb806d2e to your computer and use it in GitHub Desktop.
Live loss plot for training models in Keras (see: https://github.com/stared/livelossplot/ for a library)
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vikeshsingh37
Copy link

Thanks!

@Tez01
Copy link

Tez01 commented Mar 17, 2019

Thanks!

@ElaheMrz
Copy link

Thanks for the great project! I was wondering why is my figure show blocking the training? it seems I should close the figure every iteration to let it run and show the updated results. The training does not continue unless I close the figure.

was your problem solved? I have the same problem

@stared
Copy link
Author

stared commented Jun 19, 2019

This script is no longer being maintained (for the last year!).
Please use https://github.com/stared/livelossplot/ instead.

@ElaheMrz
Copy link

This script is no longer being maintained (for the last year!).
Please use https://github.com/stared/livelossplot/ instead.

I'm actually using that , but I have the same problem with that. the figure blocks the process and every epoch I have to close it for the build to continue ...

@maajdl
Copy link

maajdl commented Aug 22, 2019

Thanks a lot it saved my day!
I simply made log-log scale to display th loss ... since I hope the loss decreasing by several orders of magnitude !

@macd2
Copy link

macd2 commented Oct 17, 2019

is it possible to get the live plot per batch instead of per epoch?

@Melavous
Copy link

Hi, I have the same problem than @socca. Could somebody help please?

@lvwarren
Copy link

This is just fantastic. Thank you.

@ahmed-ais
Copy link

@ElaheMrz you need to use Jupyter for that.

@CrazyHrodgar
Copy link

Awesome work, it works very well!
Thanks for sharing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment