opencv 3.1 dnn (caffe) module model import fail
<p>environment:</p>

<p>OS: win 10 </p>

<p>IDE: Visual Studio 2013</p>

<p>opencv: 3.1 master from <a href="https://github.com/Itseez/opencv" rel="nofollow noreferrer">https://github.com/Itseez/opencv</a></p>

<p>opencv_contrib: from <a href="https://github.com/Itseez/opencv_contrib" rel="nofollow noreferrer">https://github.com/Itseez/opencv_contrib</a></p>

<p>graphic card: nvidia GeForce 610M</p>

<p>CUDA:  tool kit v7.5 &amp; cudnn is install</p>

<p>what I have done:</p>

<ol>
<li><p>build the dll &amp; lib by <a href="http://docs.opencv.org/3.1.0/de/d25/tutorial_dnn_build.html" rel="nofollow noreferrer">http://docs.opencv.org/3.1.0/de/d25/tutorial_dnn_build.html</a>
and success</p></li>
<li><p>use the sample code (from <a href="http://docs.opencv.org/3.1.0/d5/de7/tutorial_dnn_googlenet.html)with" rel="nofollow noreferrer">http://docs.opencv.org/3.1.0/d5/de7/tutorial_dnn_googlenet.html)with</a> the caffe model &amp; prototxt (download in current folder)  and build success</p></li>
</ol>

<p>Question:
once I run my code. it will fail during import caffe model file </p>

<p>please point me out what wrong, thanks a lot....</p>

<p>the error is bellow:</p>

<hr>

<p>[libprotobuf ERROR D:\openCV_root\opencv_contrib\modules\dnn\3rdparty\protobuf\src\google\protobuf\text_format.cc:245] 
Error parsing text-format caffe.NetParameter: 6:15: Message type "caffe.LayerParameter" has no field named "input_param".</p>

<p>OpenCV Error: Unspecified error 
(FAILED: ReadProtoFromTextFile(param_file, param).Failed to parse NetParameter file: ./bvlc_googlenet.prototxt)
 in cv::dnn::ReadNetParamsFromTextFileOrDie, file D:\openCV_root\opencv_contrib\modules\dnn\src\caffe\caffe_io.cpp, line 1101</p>

<p>D:\openCV_root\opencv_contrib\modules\dnn\src\caffe\caffe_io.cpp:1101: error: (-2) 
FAILED: ReadProtoFromTextFile(param_file, param).Failed to parse NetParameter file: ./bvlc_googlenet.prototxt </p>

<h2>in function cv::dnn::ReadNetParamsFromTextFileOrDie</h2>

<p><a href="https://i.stack.imgur.com/CjjNH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CjjNH.png" alt="enter image description here"></a></p>