Caffe is a fast deep learning framework. It supports CPU and GPU processing. Caffe is released under the BSD 2-Clause license. It is based on C++ but provides APIs for Python and Matlab.
Questions tagged [caffe]
25 questions
5
votes
1 answer
Building Caffe: Failed to see hdf5.h
Hello Caffe is a library for deeplearning. When trying to build that library under Ubuntu 15.04, the compilation fails with the message:
:~/App/caffe$ make all
PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX…
Jean-Pat
- 150
4
votes
2 answers
Unable to locate package caffe-cpu
I am trying to install caffe, but ran into the following error
sudo apt-get install caffe-cpu
[sudo] password for :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package…
Baron Yugovich
- 201
2
votes
0 answers
Trouble while building Caffe
Well, I'm trying to build Caffe. I did make all and then this error
collect2: error: ld returned 1 exit status
Makefile:625: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed
I start with this Guide
Error occured…
2
votes
1 answer
Python path and Caffe path changes every few minutes
Everyday I install caffe, it works, then I restart my the system and I get the error :
ImportError: No module named caffe
So I fix it by
import sys
sys.path.append('/home/shubham/caffe/python')
And everything works (only until I exit my ipython)…
2
votes
0 answers
__GI___pthread_mutex_lock error in opencv/caffe
Having resolved the problem in my previous question
I installed caffe following the guide and it works fine until I get to the make runtest step.
At this point it throws the
[ RUN ] ImageDataLayerTest/0.TestResize
*** Aborted at 1477424981…
Thijser
- 1,101
- 2
- 14
- 39
2
votes
1 answer
E: Unable to locate package caffe-cuda
I tried to install Caffe through the link https://caffe.berkeleyvision.org/install_apt.html and I got the error E: Unable to locate package caffe-cuda.
Can anyone suggest a solution?
2
votes
3 answers
fatal error: Python.h: No such file or directory (Unsolved with python-devel)
When trying to compile pycaffe on Ubuntu 16.04, with Anaconda 3.6 installed I get the following error:
python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory
I have tried to install the python-devel packages with
sudo…
J. Devez
- 121
1
vote
0 answers
Installing Digits on Ubuntu 16.04 : CUDA 8, CUDNN 5.1, Caffe
I am pretty new to Caffe, CUDA etc but I have managed to install and test them using a Caffe example targetting the GPU and Keras Example which also focuses on the GPU. So I am pretty sure all is installed. I had to build CUDA to install etc. I am…
Burf2000
- 131
1
vote
1 answer
Error in Caffe Installation in Ubuntu 16.04
While compiling Caffe in Ubuntu 16.04, I got the following error:
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
/usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5
collect2: error: ld returned 1 exit status
Makefile:563:…
Aurora
- 11
1
vote
2 answers
how to resolve dependencies building caffe on ubuntu 16.04
I am trying to build caffe from a git checkout on ubuntu 16.04.
If found the gcc5 workaround and have sorted the hf5 issues but am now stuck.
I've resolved most of the dependencies but am stuck with these ones.
/usr/bin/ld: warning:…
Amias
- 5,359
1
vote
0 answers
installing caffe on Ubuntu 18.04 GPU TitanX CUDA 9.1 CuDNN 7.1 without Anaconda Python 3.6
Having problem installing Caffe on Ubuntu 18.04 GPU TitanX CUDA 9.1 CuDNN 7.1 without Anaconda Python 3.6. Running make -j8 all gets the following error:
LD -o .build_release/lib/libcaffe.so.1.0.0
/usr/bin/x86_64-linux-gnu-ld: skipping incompatible…
Meriem Bea
- 11
1
vote
0 answers
Compile matcaffe in Ubuntu 18.04
I need to run an .m file that uses caffe. In Ubuntu 18.04 the installation of caffe is as simple as sudo apt install caffe-cpu.
How do I compile for Matlab afterwards?? If I run caffe.reset_all(); in Matlab, I get an error “Undefined variable…
aDav
- 11
0
votes
1 answer
Ubuntu can not run caffe model in multigpu mode
I have a three connected GTX 1080 Ti and I am trying to train a model with multigpu option. But it doesnt work. With single gpu, it train well but with multigpu it says like this and doing nothing:
I1210 13:24:25.852613 3033 net.cpp:1358] [1]…
Furkan
- 3
- 1
0
votes
1 answer
Installing Caffe in Ubuntu
So I am currently installing Caffe and I'm already in this part:
No, this does not help the Ubuntu 16.04 for now. You could try to pass an argument (CXX_FLAGS) to the compiler -D_FORCE_INLINES by editing the CMAKE files (for example:…
0
votes
0 answers
Ubuntu 21.04 - Install a package (caffe-cuda) from Ubuntu 18.04
I have to install Caffe for a project in my university. I am new to Ubuntu and I am using it since I wasn't able to build Caffe on Windows at all.
I have tried following the original tutorial. If I run sudo apt install caffe-cuda, I get the error…