HongguangZhang / DMPHN-cvpr19-master

Pytorch Implementation of CVPR19 "Deep Stacked Multi-patch Hierarchical Network for Image Deblurring"
194 stars 40 forks source link

Size miss-match #21

Open BhavyaSoni31 opened 3 years ago

BhavyaSoni31 commented 3 years ago

I have got this error when testing on pretrained model.

File "SDNet4_test.py", line 128, in main feature[s]['lv2_1'] = encoder[s]['lv2'](images['lv2_1'] + residual[s]['lv3_top']) + feature[s]['lv3_top'] RuntimeError: The size of tensor a (499) must match the size of tensor b (504) at non-singleton dimension 3

liuwenfu1218 commented 3 years ago

same question i meet May i ask if you solve this problem?