yjn870 / FSRCNN-pytorch

PyTorch implementation of Accelerating the Super-Resolution Convolutional Neural Network (ECCV 2016)
https://arxiv.org/abs/1608.00367
211 stars 58 forks source link

about ConvTranspose2d #1

Open xiaoqiangtongxue opened 5 years ago

xiaoqiangtongxue commented 5 years ago

Hello, I want to enlarge the output image by 4 times. I set the stride in ConvTranspose2d to 4, but this will give an error, which will indicate that the dimensions of tensor a and tensor b are different. Can you tell me why this is happening, What will be done to magnify the output image by 4 times for me?