Hi, I have an image with size of 3 * 500 * 500 (channel *width *height). I want to use torch.nn.Upsample to resize this image into the one with size of 3 * 256 * 256. but when I use the folowing code:
upsample = torch.nn.Upsample(256)
image = upsample(image)
it returned an image with size of 3 * 500 * 256
can anybody tell me how to fix this problem?