Pluralistic-Inpainting icon indicating copy to clipboard operation
Pluralistic-Inpainting copied to clipboard

Resize/crop

Open samuro95 opened this issue 3 years ago • 2 comments

samuro95 avatar Oct 13 '21 09:10 samuro95

Hi, When you train the model, how do you resize the ImageNet images to 256x256 ? Your code suggests that you resize first to 266x266 and then crop. Is it true ? Do you do that for other datasets too that are already 256x256 ?

samuro95 avatar Oct 13 '21 09:10 samuro95

Hi @samuro95, thanks for your interest. Yes, we directly resize images to a larger size and then crop them to 256x256 on all datasets. This is a general data augmentation method on deep learning. During the testing, we will directly resize images to 256x256.

lyndonzheng avatar Oct 22 '21 07:10 lyndonzheng