Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting error for Faster RCNN 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.

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

System Config: Windows7, opencv 3.4image description

Getting error for Faster RCNN 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.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

System Config: Windows7, opencv 3.4image description

Getting error for Faster RCNN 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.4image description

Getting error for Faster RCNN 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.4image description

Getting error for Faster RCNN 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.4image description

10 lines of prototxt file.

<html lang="en"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://assets-cdn.github.com"> <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">

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.4image description

10 lines of prototxt file.

<html lang="en"> <head> <meta charset="utf-8"> <link rel="dns-prefetch" href="https://assets-cdn.github.com"> <link rel="dns-prefetch" href="https://avatars0.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars1.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars2.githubusercontent.com"> <link rel="dns-prefetch" href="https://avatars3.githubusercontent.com"> <link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com"> <link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">