mage)
...     axs[i].set_axis_off()
>>> fig.show()

The images are all different sizes though, so you’ll need to preprocess them first:
Resize changes the image size to the one defined in config.image_size.
RandomHorizontalFlip augments the dataset by randomly mirroring the images.
Normalize is important to rescale the pixel values into a [-1, 1] range, which is what the model expects.


	Copied
>>> from torchvision import transforms

>>> prepr