-
Notifications
You must be signed in to change notification settings - Fork 30
Opencv4.6 Problems #12
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
Comments
I have the same problem as you. Is there any solution,please? |
? |
Same problem |
The problem is the same. I solved it by modifying the opencv version to 4.5.5. |
tq very much |
May i know how to downgrade opencv 4.6.0 to 4.5.5 ? |
pip install opencv-python==4.5.1.18 |
(first):pip uninstall opencv-python |
will try it out, thank you very much edited: yes, it worked, tq very much, but the outcome is bad compare to original pytorch version of YOLACT. |
when I test the pyhton script:
File "...\yolact-opencv-dnn-cpp-python-main\main_yolact.py", line 152, in decode
priors[:, 2:] * np.exp(loc[:, 2:] * self.variances[1]),
ValueError: operands could not be broadcast together with shapes (10597,2) (10597,79)
the dimension is not match
When I test the cpp script:

the result as follows:
The text was updated successfully, but these errors were encountered: