Closed MohamedAliRashad closed 4 years ago
I have the same RuntimeError with MohamedAliRashad that is "RuntimeError: The size of tensor a (8) must match the size of tensor b (7) at non-singleton dimension 3" when I infer single image.
Make sure you have padded the image to be divisible by 64.
The padding is achieved in load_data_V2.py line 69, 'image = get_pad(image,DIV=64)'.
@xhp-hust-2018-2011 Thanks.
I think the problem in the input size of the images, so i was asking what was the input sizes and how to control it ?