I want to save the plots of show_batch() or show_results(), so that I can store them with an experiment run in Azure ML. It seems like it was once possible by passing
return_fig=True but is no longer. Do you know if it is possible to save the plot?
How can this be unanswered after more than two years, and how can this not be explicitly stated in documentation?
After searching for another 31 minutes a stackoverflow answer revealed it.
import matplotlib.pyplot as plt
(....) do all your fast ai stuff
Again, it is incredible how this isn’t mentioned under the first plots that is shown in any documentation. “If you want to save this automatically you would have to import matplotlib.pyplot and call matplotlib.pyplot.savefig()”. So easy.