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
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