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

RuntimeError: The size of tensor a (241) must match the size of tensor b (240) at non-singleton dimension 3 #7

Closed
emu1200tra opened this issue Nov 23, 2018 · 5 comments

Comments

@emu1200tra
Copy link

RuntimeError: The size of tensor a (241) must match the size of tensor b (240) at non-singleton dimension 3

I get this error when I try to run eval.py.
Does anyone get this error as well and know how to fix it?
Thanks!

@githubPsearth
Copy link

I got the same error

@XiaLiPKU
Copy link
Owner

This may caused by odd size of the input image pair

@anruoxi123
Copy link

我也遇到了这个问题,请问是怎么解决的呢

@anruoxi123
Copy link

I also encountered this problem. Have you solved it?

@XiaLiPKU
Copy link
Owner

The default input setting of test.py, is that you prepare a pair of O, B into a single image. So you must make sure, the width of the image must be even!!

@XiaLiPKU XiaLiPKU closed this as completed Apr 1, 2019
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

4 participants