Hi all,
I`m struggling to do caffe compile
when I compile caffe, those error are shown up
please give me the answer.
ps, I did uncommnet CPU_ONLY = 1 in Makefile.config and changed solver_mode = GPU
This is the error when I commend,
root@jinhokim:~/caffe# ./examples/mnist/train_lenet.sh
I0328 11:25:30.682950 21848 caffe.cpp:218] Using GPUs 0
F0328 11:25:30.683099 21848 common.cpp:66] Cannot use GPU in CPU-only Caffe: check mode.
*** Check failure stack trace: ***
@ 0x7fb7e2a255cd google::LogMessage::Fail()
@ 0x7fb7e2a27433 google::LogMessage::SendToLog()
@ 0x7fb7e2a2515b google::LogMessage::Flush()
@ 0x7fb7e2a27e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7fb7e2da1270 caffe::Caffe::SetDevice()
@ 0x40a81b train()
@ 0x406de0 main
@ 0x7fb7e198f830 __libc_start_main
@ 0x407609 _start
@ (nil) (unknown)
Aborted (core dumped)
This is Makefile.config.example
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
# USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
# USE_OPENCV := 0
# USE_LEVELDB := 0
# USE_LMDB := 0
This is Makefile.config
# Contributions simplifying and improving our build system are welcome!
# cuDNN acceleration switch (uncomment to build with cuDNN).
# USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support).
CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers
# USE_OPENCV := 0
# USE_LEVELDB := 0
# USE_LMDB := 0
# uncomment to allow MDB_NOLOCK when reading LMDB files (only if necessary)
# You should not set this flag if you will be reading LMDBs with any
# possibility of simultaneous read and write
# ALLOW_LMDB_NOLOCK := 1
This is lenet_solver.prototxt
# The learning rate policy
lr_policy: "inv"
gamma: 0.0001
power: 0.75
# Display every 100 iterations
display: 100
# The maximum number of iterations
max_iter: 10000
# snapshot intermediate results
snapshot: 5000
snapshot_prefix: "examples/mnist/lenet"
# solver mode: CPU or GPU
solver_mode: GPU
25,1 Bot
Please help me TT