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

python opencv self._model = cv.dnn.readNet(self._model_path) 报错 #9

Open
lix19937 opened this issue Feb 25, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@lix19937
Copy link
Owner

lix19937 commented Feb 25, 2024

cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\dnn\src\dnn.cpp:562: error: 
 (-2:Unspecified error) Can't create layer "76" of type "ConstantOfShape" in function  
'cv::dnn::dnn4_v20191202::LayerData::getLayerInstance'

使用 opencv 4.4.0 问题解决

@lix19937 lix19937 added the bug Something isn't working label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant