I want to use resnet pretrained on Imagenet and fine tune the model on my new dataset (consisting of cell images).
So what must be the mean and std in transforms.Normalize(mean, std, )
.
Should it be that of the ImageNet dataset (coz we are using a pretrained model trained on ImageNet)
or we should pass the mean and std of this new dataset?
What I think is after normalization it must have 0 mean and unit var. and if we pass the imagenet mean and std for my dataset it will not have 0 mean and unit variance and hence both this distributions will be different so hence use mean and std of my new dataset. (Please correct me if I am wrong)