Basically i’m using the datablock api of fastai https://docs.fast.ai/data_block.html 18
My databunch is created by doing an TensorImageList.from_folder(), where TensorImageList is a subclass of ImageList.