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 (44) must match the size of tensor b (45) at non-singleton dimension 2 #24

Open
chokyungjin opened this issue Jan 28, 2020 · 4 comments

Comments

@chokyungjin
Copy link

Hi. I'm demonstrating your code in docker my Mac. But I have this error. How can I solve this problem? I was running it sequentially with your README! Thanks!!
스크린샷 2020-01-29 오전 1 00 36

@RokiaAbdeen
Copy link

yes I also have the same error type
how we can solve this problem

@ghost
Copy link

ghost commented Oct 6, 2020

Has anyone had any luck solving this?

@wjj962464
Copy link

Hi. I'm demonstrating your code in docker my Mac. But I have this error. How can I solve this problem? I was running it sequentially with your README! Thanks!!
스크린샷 2020-01-29 오전 1 00 36

The cause of this error lies in the line 43 and 44 of CamVid_loader.py
QQ截图20201127131023

@JingyuWu-ZJU
Copy link

Has anyone had any luck solving this?

you need to resize the picture, the original picture in Camvid is 960720, 720%32 !=0 ,so that cause the problem. you can resize the picture to 640480 or 960*704

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