I'm going through the PyTorch Transfer Learning tutorial at: link
In the data augmentation stage, there is the following step to normalize images:
transforms.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])
I can understand why it's doing this but I can't find how the mean and std values get calculated? I tried to calculate the mean on the train data set and the mean values are:
array([ 0.11727478, 0.04542569, -0.28624609], dtype=float32)