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

validate.py报错 #31

Open
MikuuGithub opened this issue Jan 16, 2022 · 2 comments
Open

validate.py报错 #31

MikuuGithub opened this issue Jan 16, 2022 · 2 comments

Comments

@MikuuGithub
Copy link

我用了您提供的与训练模型,在coco val2017上测试模型的性能,但是报出如下错误(python3.6 torch1.8):
91e518a99013c3e9d2e92b13486c7ca

@neesetifa
Copy link

The error message is very clear, the shape of the input is wrong. As the input for pytorch model, the shape should be [batch_size, 3, 256, 192], but you got [3, 256, 192]. The input variable "inps" is generated by gt_val_loader, check it, I guess you might change some codes.

@gh244
Copy link

gh244 commented Apr 5, 2023

I have also encountered this problem. Have you resolved it

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