RegAD icon indicating copy to clipboard operation
RegAD copied to clipboard

Why not normalize the input image

Open ArlixLin opened this issue 1 year ago • 0 comments

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

ArlixLin avatar Nov 27 '23 09:11 ArlixLin