Take a look at torchvision.transforms.Normalize 1. Your picture is being normalized, which results in this weird picture. If you remove transforms.Normalize((0.5414, 0.5333, 0.5338),(0.1897, 0.1911, 0.1932))], the image should look normal.