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

one problem? #5

Open
123wk45678 opened this issue Feb 15, 2021 · 3 comments
Open

one problem? #5

123wk45678 opened this issue Feb 15, 2021 · 3 comments

Comments

@123wk45678
Copy link

when i run main function where is model.py i get an error,for example
"
energy = content_content + content_position
RuntimeError: The size of tensor a (196) must match the size of tensor b (256) at non-singleton dimension 1
"

@ZhangChao1993
Copy link

when i run main function where is model.py i get an error,for example
"
energy = content_content + content_position
RuntimeError: The size of tensor a (196) must match the size of tensor b (256) at non-singleton dimension 1
"

I meet the same error, Could you fix it?

@ZhangChao1993
Copy link

ZhangChao1993 commented Feb 18, 2021

when i run main function where is model.py i get an error,for example
"
energy = content_content + content_position
RuntimeError: The size of tensor a (196) must match the size of tensor b (256) at non-singleton dimension 1
"

I meet the same error, Could you fix it?

Just like this can fix! #1 (comment)

@CarlBhy
Copy link

CarlBhy commented Mar 8, 2021

when i run main function where is model.py i get an error,for example
"
energy = content_content + content_position
RuntimeError: The size of tensor a (196) must match the size of tensor b (256) at non-singleton dimension 1
"

I meet the same error, Could you fix it?

Just like this can fix! #1 (comment)

you should Change the resolution to the size of the image you entered

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