Open ArlixLin opened 1 year ago
Thank you for your selfless sharing! I see the code below: ` self.transform_x = transforms.Compose([ transforms.Resize([size_tp, size_tp], Image.ANTIALIAS), transforms.CenterCrop([resize, resize]), transforms.ToTensor(),
])
So why don't runtransforms.Normalize`
So why don't run
Thank you for your selfless sharing! I see the code below: ` self.transform_x = transforms.Compose([ transforms.Resize([size_tp, size_tp], Image.ANTIALIAS), transforms.CenterCrop([resize, resize]), transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
So why don't run
transforms.Normalize`