SupContrast icon indicating copy to clipboard operation
SupContrast copied to clipboard

the mean and std of cifar dataset

Open shuaiNJU opened this issue 2 years ago • 0 comments

Hi, Thanks for your excellent work and code! I have a question about the mean and std of cifar dataset. For example, for CIFAR-10 dataset, why you use transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)), instead of transforms.Normalize([x/255.0 for x in [125.3, 123.0, 113.9]], [x/255.0 for x in [63.0, 62.1, 66.7]])? I am looking forward your replay! Thanks!

shuaiNJU avatar Nov 25 '22 06:11 shuaiNJU