I have a question regarding the z-score normalization
method.
This method uses the z-score
to normalize
the values of the dataset and needs a mean/std
.
I know that you are normally supposed to use the mean/std
of the dataset.
But I have seen multiple tutorials on pytorch.org and the net who just use the 0.5
for mean/std
which seems completely arbitrary to me.
And I was wondering why they didn't use the mean/std
of the dataset?
Example Tutorials where they just use 0.5 as mean/std
:
https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html
https://medium.com/ai-society/gans-from-scratch-1-a-deep-introduction-with-code-in-pytorch-and-tensorflow-cb03cdcdba0f
https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html#sphx-glr-beginner-blitz-cifar10-tutorial-py