for transforms.RandomCrop(28,padding=2)

image793×501 16.9 KB

for transforms.Randomcrop(23)

image726×458 8.98 KB

for transforms.ResizedCrop(23,scale=(0.675,1))

Hmm the task is to be 5 pixels crop in both x and y ,I guess it means 5 pixels each axis.Maybe its a bit open ended.