Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: standard deviation on cifar10 #5

Open
Sirius083 opened this issue Mar 7, 2019 · 3 comments
Open

Question: standard deviation on cifar10 #5

Sirius083 opened this issue Mar 7, 2019 · 3 comments

Comments

@Sirius083
Copy link

Sirius083 commented Mar 7, 2019

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

@whai362
Copy link
Collaborator

whai362 commented Mar 7, 2019

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

@Sirius083
Copy link
Author

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

@Sirius083
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants