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

Predict.py Problem #53

Open
Luo-Z13 opened this issue Nov 15, 2022 · 3 comments
Open

Predict.py Problem #53

Luo-Z13 opened this issue Nov 15, 2022 · 3 comments
Labels
question Further information is requested

Comments

@Luo-Z13
Copy link

Luo-Z13 commented Nov 15, 2022

I download pretrained weight and use predict.py to test some images, but meet this bug, what's the problem of the fuse_layers?

File "test4/Road/LoveDA-master/Semantic_Segmentation/module/baseline/base_hrnet/_hrnet.py", line 394, in forward y = y + self.fuse_layers[i][j](x[j]) RuntimeError: The size of tensor a (500) must match the size of tensor b (504) at non-singleton dimension 3

@Junjue-Wang
Copy link
Owner

You maybe use your own images with incorrect input sizes.

@Luo-Z13
Copy link
Author

Luo-Z13 commented Nov 15, 2022 via email

@Junjue-Wang
Copy link
Owner

Yes. I can try it.

@Junjue-Wang Junjue-Wang added the question Further information is requested label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants