Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to dump plot into a file on every epoch #68

Closed
micmarty opened this issue Jul 20, 2019 · 1 comment
Closed

Option to dump plot into a file on every epoch #68

micmarty opened this issue Jul 20, 2019 · 1 comment

Comments

@micmarty
Copy link

It would be very useful in case jupyter closes or training cell is rerun - plots will get lost.
Please consider adding this feature or maybe tell me how could I make it without manually modifying sources.

@stared
Copy link
Owner

stared commented Aug 6, 2019

@micmarty There is an option to do so:

PlotLosses(fig_path="chart.png")```

or if you want to create a different one each epoch (instead of overwritting):

PlotLosses(fig_path="chart_{}.png")` ``

Vide https://github.com/stared/livelossplot/blob/master/livelossplot/generic_plot.py

Let me know if it works.

@stared stared closed this as completed Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants