MixNet icon indicating copy to clipboard operation
MixNet copied to clipboard

Question: standard deviation on cifar10

Open Sirius083 opened this issue 5 years ago • 3 comments

In cifar10.py Line 105 transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)) The standard deviation on cifar10 is [0.24703223 0.24348513 0.26158784] and I search online How do you calculate the previous standard deviation? Thanks in advance

Sirius083 avatar Mar 07 '19 06:03 Sirius083

There is a standard implementation of CIFAR dataloader on torchvision.datasets.

whai362 avatar Mar 07 '19 06:03 whai362

Thanks, can you tell me the standard deviation of cifar100 under your implementation? I am using tensorflow to try you code. Thanks

Sirius083 avatar Mar 07 '19 07:03 Sirius083

https://gist.github.com/weiaicunzai/e623931921efefd4c331622c344d8151 Sorry to bother, I find the answer here Thanks

Sirius083 avatar Mar 07 '19 07:03 Sirius083