I read and normalize images with mean and std values of Image Net:
from torchvision.transforms import Normalize normalize_transform = Normalize(MEAN, STD) img