Hello, I have a 4D tensor of size e.g. (batch_size=10, channels=10, height=6, width=6). I want to resize each (6x6) channel to (30x30). I want to conserve the pixel values as much as possible during resizing, maybe by interpolation or so.
How can I do it for all the channels and images at once instead of one by one with torchvision.transforms?
I tried it already, but the problem is that the pixels are a bit dull as you can see in the image which is understandable.
So, any ideas to sharpen the image?