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

C++程序编译报错 #6

Open
Joll123 opened this issue Jul 25, 2019 · 1 comment
Open

C++程序编译报错 #6

Joll123 opened this issue Jul 25, 2019 · 1 comment

Comments

@Joll123
Copy link

Joll123 commented Jul 25, 2019

terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.1.1-pre) /home/jhl/opencv/modules/dnn/src/caffe/caffe_io.cpp:1121: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "./reg.prototxt" in function 'ReadProtoFromTextFile'

@ideaflow
Copy link

ideaflow commented Aug 4, 2019

这是因为没有找到模型文件,在mobilenet-ssd.cpp的main函数里修改一下路径,比如这样
tmp

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

2 participants