What are your preferences and the reasoning behind them?
I saw this transform in my Udacity class, and it seemed redundant in the use of both:
transform = transforms.Compose([transforms.Resize(255),
transforms.CenterCrop(224),
transforms.ToTensor()])
I was thinking Resize
keeps the amount of information the same, but distorts it. It seems like CenterCrop
risks cutting out important bits, but what it does keep isn’t overly distorted.
Just a newb question!