You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: