Question: About preprocessing
rcg12387 opened this issue · 1 comments
rcg12387 commented
# preprocessing
normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
self.toTensor = transforms.ToTensor()
self.preproc = transforms.Compose([transforms.ToTensor(), normalize])
Could you explain why you set means and stds differently? And how did you get these numbers?
Thanks in advance.