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

Runtime Error #12

Closed
mehrazi opened this issue Sep 28, 2019 · 2 comments
Closed

Runtime Error #12

mehrazi opened this issue Sep 28, 2019 · 2 comments

Comments

@mehrazi
Copy link

mehrazi commented Sep 28, 2019

@biubug6 Hi, I feed when I try to use detect.py, return this error:

File "...../Pytorch_Retinaface/utils/box_utils.py", line 214, in decode
priors[:, :2] + loc[:, :2] * variances[0] * priors[:, 2:],
RuntimeError: The size of tensor a (2688) must match the size of tensor b (2470) at non-singleton dimension 0

@biubug6
Copy link
Owner

biubug6 commented Sep 29, 2019

It is curious. You may make a wrong inappropriate change that causes the mistake.

@mehrazi
Copy link
Author

mehrazi commented Sep 29, 2019

@biubug6 it's my mistake! I'm using python2 instead of python3

@mehrazi mehrazi closed this as completed Sep 29, 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

2 participants