pycaffe
No module named google.protobuf.internal
1窟却、下載protobuf(https://github.com/google/protobuf/releases/tag/v3.0.0)。下載兩個文件杂靶,一個protoc-3.0.0-win32.zip,一個Source code十办。
2伴找、將protoc-3.0.0-win32\bin\protoc.exe 拷貝進(jìn)入源代碼文件夾下 src中
3、進(jìn)入源代碼文件夾下python文件夾娘侍,cmd執(zhí)行 python setup.py build
4、build結(jié)果文件中的python中的Google放到\Lib\site-packages中
matcaffe 編譯出錯
"gpu/mxGPUArray.h" Not Found
<PropertyGroup Condition="'$(MatlabSupport)'=='true'">
<MatlabDir>D:\MATLAB\R2016a</MatlabDir>
<LibraryPath>$(MatlabDir)\extern\lib\win64\microsoft;$(LibraryPath)</LibraryPath>
<IncludePath>$(MatlabDir)\extern\include;$(IncludePath)</IncludePath>
<IncludePath>$(MatlabDir)\extern\include;$(MatlabDir)\toolbox\distcomp\gpu\extern\include;$(IncludePath)</IncludePath><!-- 新增的一句 -->
</PropertyGroup>
編譯成功后在系統(tǒng)變量中添加Release路徑泳炉,在matlab中添加matcaffe的路徑憾筏。