ResidualAttentionNetwork-pytorch
ResidualAttentionNetwork-pytorch copied to clipboard
Errors when I run train.py
File "/home//ResidualAttentionNetwork-pytorch-master/Residual-Attention-Network/model/attention_module.py", line 249, in forward out_interp3 = self.interpolation3(out_softmax3) + out_softmax2 RuntimeError: The size of tensor a (14) must match the size of tensor b (2) at non-singleton dimension 3
any solution found regarding this?
Found the issue from my case it was that i didnt resize/scale in the transformer , ( transforms.Scale(224) )