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

The size of tensor a (207) must match the size of tensor b #14

Open
anasAloklah opened this issue Dec 27, 2019 · 4 comments
Open

The size of tensor a (207) must match the size of tensor b #14

anasAloklah opened this issue Dec 27, 2019 · 4 comments

Comments

@anasAloklah
Copy link

anasAloklah commented Dec 27, 2019

RuntimeError: The size of tensor a (207) must match the size of tensor b (200) at non-singleton dimension 1
hat error when I want to up -max_strlen more 80
I want solution for this problem

@MehwishFatimah
Copy link

I guess this error is due to max_seq_len in Positional Encoder, not due to max_strlen

@shefali1234
Copy link

could you resolve this error? I am getting the same

@MehwishFatimah
Copy link

could you resolve this error? I am getting the same
Yes, however, I couldn't produce the correct output.
Change the max_seq_len according to your input size for encoder and decoder in the model.

@anasAloklah
Copy link
Author

anasAloklah commented Mar 11, 2021

could you resolve this error? I am getting the same
Yes, however, I couldn't produce the correct output.
Change the max_seq_len according to your input size for encoder and decoder in the model.

yes solved thank you

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

3 participants