I'm starting to work on the classification of images dataset, as many tutorials I followed; it starts by normalizing the data (train and test data)
My question is: if I want to normalize the data by shifting and scaling it with a factor of 0.5
What does this mean 'the factor of something x'?
I know that it will be used within .Normalize()
:
transform_train = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(),
])
transform_test = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(),
])
But I'm a little bit confused about the meaning shift and scale (maybe it's like resize?) by the factor of X
Thanks.