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

how can I solve the error? #32

Open
KimYonghyun94 opened this issue Jul 2, 2020 · 0 comments
Open

how can I solve the error? #32

KimYonghyun94 opened this issue Jul 2, 2020 · 0 comments

Comments

@KimYonghyun94
Copy link

OpenCV version: 3.3.1
Linux is fine! Python multiprocessing works.
OpenCV Error: Unspecified error (FAILED: fs.is_open(). Can't open "assets/deploy.prototxt") in ReadProtoFromTextFile, file /io/opencv/modules/dnn/src/caffe/caffe_io.cpp, line 1113
Traceback (most recent call last):
File "/content/head-pose-estimation/estimate_head_pose.py", line 161, in
main()
File "/content/head-pose-estimation/estimate_head_pose.py", line 57, in main
mark_detector = MarkDetector()
File "/content/head-pose-estimation/mark_detector.py", line 68, in init
self.face_detector = FaceDetector()
File "/content/head-pose-estimation/mark_detector.py", line 14, in init
self.face_net = cv2.dnn.readNetFromCaffe(dnn_proto_text, dnn_model)
cv2.error: /io/opencv/modules/dnn/src/caffe/caffe_io.cpp:1113: error: (-2) FAILED: fs.is_open(). Can't open "assets/deploy.prototxt" in function ReadProtoFromTextFile

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

1 participant