Hi Community,
I am having this error below:
ret = torch.addmm(bias, input, weight.t()) RuntimeError: size mismatch, m1: [8 x 11552], m2: [1800 x 128]
I read about similar topics posted however It didn’t come out into a proper conclusion into resolving my error:
This is the input size input x forwarded into the model and processed:

I am using alextnet and the raw image size is 224*224
I flatten the input before forwarding using the below code
x = data.view(data.shape[0], -1)
Thank you in advance