Getting error for MobileNet SSD Dnn model.
Hi, I am posting this question once again with more details. I tried all possible things but did not get success. As suggestion from @sturkmen. I have use below files. It will be great , if you tell me the soultion on this.
1) link text 2) MobileNetSSD_deploy.caffemodel 3) MobileNetSSD_deploy.prototxt
Command Arguments: onceMoreDnn.exe -video=cat.jpg -opencl -model=MobileNetSSD_deploy.caffemodel -proto=MobileNetSSD_deploy.prototxt
Error: C:\Users\Shejal\Documents\Visual Studio 2015\Projects\onceMoreDnn\x64\Debug>once MoreDnn.exe [libprotobuf ERROR C:\build\master_winpack-build-win64-vc14\opencv\3rdparty\prot obuf\src\google\protobuf\text_format.cc:298] Error parsing text-format opencv_ca ffe.NetParameter: 7:1: Expected identifier, got: < OpenCV Error: Unspecified error (FAILED: ReadProtoFromTextFile(param_file, param ). Failed to parse NetParameter file: MobileNetSSD_deploy.prototxt) in cv::dnn:: ReadNetParamsFromTextFileOrDie, file C:\build\master_winpack-build-win64-vc14\op encv\modules\dnn\src\caffe\caffe_io.cpp, line 1145
old question link :link text System Config: Windows7, opencv 3.4
my file size :
caffemodel
prototxt
@LBerger, I have updated above files. Still, Same error.
can you post only the first ten line of mobileNetSSD_deploy.prototxt?
i think it is time to update your OpenCV version to 3.4.1
like @sturkmen mentioned, DNN is under heavy improvement, so keep up with latest codebase ;)