-
Notifications
You must be signed in to change notification settings - Fork 33
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
采用dnn加载onnx模型失败 #2
Comments
升级opencv版本,再试一下
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年2月23日(周三) 下午5:27
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [hpc203/scrfd-opencv] 采用dnn加载onnx模型失败 (Issue #2)
File "d:\AI\Face\Face_detect\SCRFD\scrfd-opencv\main.py", line 12, in init
self.net = cv2.dnn.readNet(onnxmodel) #加载失败
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\dnn\include\opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "starts" not found into dictionary in function 'cv::dnn::dnn4_v20191202::Dict::get'
我试了其他scrfd的onnx模型,加载都是各种报错.不懂你有没有出现这种问题. onnxruntime 加载是正常的
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
我已经升级opencv到4.5.5, 在mac电脑上仍然报错,请问接下来如何修改呢? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File "d:\AI\Face\Face_detect\SCRFD\scrfd-opencv\main.py", line 12, in init
self.net = cv2.dnn.readNet(onnxmodel) #加载失败
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\dnn\include\opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "starts" not found into dictionary in function 'cv::dnn::dnn4_v20191202::Dict::get'
我试了其他scrfd的onnx模型,加载都是各种报错.不懂你有没有出现这种问题. onnxruntime 加载是正常的
The text was updated successfully, but these errors were encountered: