Diff between RandomResizeCrop and RandomCrop

  1. What is difference between Random Rize Crop and Simply RandomCrop which we have pytorch library

  2. Is it possible to do RandomCrop instead of RandomResize Crop in item_tfms

Have a look at this notebook https://github.com/fastai/fastai2/blob/master/nbs/09_vision.augment.ipynb

Random Crop Resize: picks a random scaled crop of image ‘n’ and resizes it to size

Random Crop: randomly crop an image to size.

How can we achieve the second one in Fastai…