# About Normalization using pre-trained vgg16 networks

**URL:** <https://discuss.pytorch.org/t/about-normalization-using-pre-trained-vgg16-networks/23560>\
**Category:** Uncategorized\
**Created:** [August 21, 2018, 5:59am UTC](https://discuss.pytorch.org/t/about-normalization-using-pre-trained-vgg16-networks/23560 "2018-08-21T05:59:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![eternity](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/e/0ea827/32.png) [@eternity](https://discuss.pytorch.org/u/eternity)\
**Post date:** [August 21, 2018, 10:51am UTC](https://discuss.pytorch.org/t/about-normalization-using-pre-trained-vgg16-networks/23560/5 "2018-08-21T10:51:28Z")

</div>

Thanks. I may know how to calculate the mean of my dataset, however, I do not know how to get the std of my dataset in pytorch effectively.  
Can you provide me with your code to calculate the mean and std of ImageNet?I will appreciate very much!  
Thanks very much!

---

_[View the full topic](https://discuss.pytorch.org/t/about-normalization-using-pre-trained-vgg16-networks/23560)._
