I’m trying to save images that are read through torchvision.datasets.ImageFolder(). But if I save with only image tensor and filename arguments, it saves normalized images. And if I try to save with additional arguments like normalize=True, it returns Typeerror. Below is my code and error. How can I save images without normalization?

Question.jpeg1757×540 110 KB