How the means and stds get calculated in the Transfer Learning tutorial

All pre-trained models should be preprocessed in that same way.
Those values are mean, stddev for ImageNet, not for your specific dataset. You can also check the discussion here.

1 Like