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

求教大神,在某些机型上会出现Can't open prototxt错误,你有遇到过吗 #18

Open
wangzhen6039 opened this issue Oct 9, 2018 · 5 comments

Comments

@wangzhen6039
Copy link

OpenCV Error: Unspecified error (FAILED: fs.is_open(). Can't open "/storage/emulated/0/alivedetection/det1.prototxt") in bool cv::dnn::ReadProtoFromTextFile(const char*, google::protobuf::Message*), file /build/master_pack-android/opencv/modules/dnn/src/caffe/caffe_io.cpp, line 1119

@wangzhen6039
Copy link
Author

米8 Android 8.1会报这个错,魅族Pro6 plus不会。

@panda-lab
Copy link

再打开一次

@wangzhen6039
Copy link
Author

再打开一次

谢谢,这个应该是我在模型文件没完全导入成功就调用api出的错。目前已解决。现在又出现一个新的问题,
cv::error(): OpenCV Error: One of arguments' values is out of range (Layer "conv5-2" produce only 0 outputs, the #0 was requsted) in cv::Mat cv::dnn::experimental_dnn_v3::Net::Impl::getBlob(const cv::dnn::experimental_dnn_v3::LayerPin&), file /build/master_pack-android/opencv/modules/dnn/src/dnn.cpp, line 1651。米8不报错,红米note4x会报错。这个类我没找到,所以无从下手啊。

@panda-lab
Copy link

(Layer "conv5-2" produce only 0 outputs 这个网络这个层没有得到输出,是不是人脸检测部分没有得到人脸或者这个网络加载如问题了。

@DM-Li-Lee
Copy link

模型文件复制到哪个目录?

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

3 participants