caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Newbie gets caffe error

Open LOLLOLO opened this issue 7 years ago • 1 comments

Hi all, I am new here on Ubuntu and I have been trying to follow a tutorial about making Deep Dreaming effects, half way through while setting up caffe this came up... Again I am a newbie so I have 0 idea how to fix this problem, and all the solutions I find here, I tried following them but I must be doing something wrong. Help?



CXX src/caffe/solver.cpp
In file included from ./include/caffe/common.hpp:19:0,
                 from ./include/caffe/blob.hpp:8,
                 from ./include/caffe/net.hpp:10,
                 from ./include/caffe/solver.hpp:7,
                 from src/caffe/solver.cpp:7:
./include/caffe/util/device_alternate.hpp:34:10: fatal error: cublas_v2.h: No such file or directory
 #include <cublas_v2.h>
          ^~~~~~~~~~~~~
compilation terminated.
Makefile:591: recipe for target '.build_release/src/caffe/solver.o' failed
make: *** [.build_release/src/caffe/solver.o] Error 1

Thanks in advance!

LOLLOLO avatar Oct 11 '18 19:10 LOLLOLO

You may try to use -DCPU_ONLY=1 flag if you don't have a GPU. See #6428 "cublas_v2.h file missing"

bartolootrit avatar Oct 25 '21 07:10 bartolootrit