Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

使用--dnn的时候出现这个错误 #21

Open
the-cat-crying opened this issue Sep 30, 2022 · 2 comments
Open

使用--dnn的时候出现这个错误 #21

the-cat-crying opened this issue Sep 30, 2022 · 2 comments

Comments

@the-cat-crying
Copy link

cv2.error: OpenCV(4.6.0) /io/opencv/modules/dnn/include/opencv2/dnn/shape_utils.hpp:170: error: (-215:Assertion failed) start <= (int)shape.size() && end <= (int)shape.size() && start <= end in function 'total'

@XXMxxm220
Copy link

cv2.error: OpenCV(4.6.0) /io/opencv/modules/dnn/include/opencv2/dnn/shape_utils.hpp:170: error: (-215:Assertion failed) start <= (int)shape.size() && end <= (int)shape.size() && start <= end in function 'total'

请问你解决了吗?我好像也遇到这个问题了

@the-cat-crying
Copy link
Author

有点久了,记得不是很清楚了,我记得当时我用yolov7官网的yolov7-u5版本转换成onnx来运行的。https://githubfast.com/WongKinYiu/yolov7/tree/u5

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants