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