By far one of the hardest things to get used to in Fastai is handling data (data loaders, bunches, blocks…).
show_batch is a fantastic tool to make sure to understand how things are working. Sadly, if using Fastai outside of a Jupyter environment, this method returns None and shows nothing at print.
Would it be possible to address this? Returning the HTML element might be enough for some coarse visualization, by printing html_thing.data
Just a note from the future: I’m not sure if this worked this way before as well, but it is possible to directly print Fastai images to file, using matplotlib. Example: