ValueError: Expected tensor to be a tensor image of size (…, C, H, W). Got tensor.size() = torch.Size([256, 256]
I am trying to normalize some satellite images for the purpose of super-resolution with TF.normalization, where the input should have the size of (N,C,W,H), but it says that my tensor value is 256×256. I’ve tried unsqueezing the samples just before the normalization but then i get (1, 256, 256).