happynear / happynear/caffe-windows
CPU Only build
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
Hi, can you give me the instructions to build CPU only, I don't have GPU. I changed CpuOnlyBuild to True and UseCuDNN to False but when I build **libcaffe** in VS2015, I meet some errors like that:
Severity Code Description Project File Line Suppression State
Error C2333 'caffe::ProposalLayer::Backward_gpu': error in function declaration; skipping function body (compiling source file ..\..\src\caffe\layers\proposal_layer.cpp) libcaffe D:\Caffe\caffe-windows\include\caffe\layers\proposal_layer.hpp 36
Severity Code Description Project File Line Suppression State
Error C2333 'caffe::ProposalLayer::Backward_gpu': error in function declaration; skipping function body (compiling source file ..\..\src\caffe\layers\proposal_layer.cpp) libcaffe D:\Caffe\caffe-windows\include\caffe\layers\proposal_layer.hpp 36
Severity Code Description Project File Line Suppression State
Error C3861 'caffe_gpu_div': identifier not found libcaffe D:\Caffe\caffe-windows\src\caffe\layers\batch_norm_layer.cpp 203
And when I build project **caffe:**
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'pyconfig.h': No such file or directory caffe D:\Caffe\caffe-windows\windows\thirdparty\Boost\boost\python\detail\wrap_python.hpp 50
Severity Code Description Project File Line Suppression State
Error (active) identifier "cudaGetDevice" is undefined libcaffe d:\Caffe\caffe-windows\src\caffe\parallel.cpp 112
Severity Code Description Project File Line Suppression State
Error (active) "PyObject" is not a type name caffe d:\Caffe\caffe-windows\windows\thirdparty\Boost\boost\python\converter\builtin_converters.hpp 30
Contributor guide
Assessment
This issue has not been assessed yet.