Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when I run train.py #37

Open
KrystalCWT opened this issue Dec 21, 2020 · 2 comments
Open

Errors when I run train.py #37

KrystalCWT opened this issue Dec 21, 2020 · 2 comments

Comments

@KrystalCWT
Copy link

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

@alakhrasSandy
Copy link

any solution found regarding this?

@alakhrasSandy
Copy link

Found the issue from my case it was that i didnt resize/scale in the transformer , ( transforms.Scale(224) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants