Upscaling feature map

Hi;
I would like to upsample the feature map learnt by a pretrained resent.

The size of feature map is (15,15.) I would like to scale/ resize it to 240,240.

In torch it would be

out= image.scale(feature_maps, 240,240)

Is there something equivalent in pytorch??

torch.nn.Upsample should do your job.

1 Like