Questions tagged [caffe]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
344 views

Ubuntu 21.04 - Install a package (caffe-cuda) from Ubuntu 18.04 [duplicate]

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 ...
user avatar
0 votes
1 answer
2k views

Ubuntu 20.04 : error when installing Caffe

I'm trying to install Caffe-Segnet (http://mi.eng.cam.ac.uk/projects/segnet/tutorial.html) on my Ubuntu 20.04 for a project I'm working on, and I encountered many difficulties, even when trying to ...
user avatar
1 vote
0 answers
76 views

Caffe build : ln: target '.build_release/tools/finetune_net' is not a directory

i'm trying to compile caffe that i got from https://github.com/SeokjuLee/VPGNet.git. i'm using CPU Only, i've installed the required dependencies, but when i try to make all, i got this error AR -o ....
user avatar
  • 11
1 vote
1 answer
56 views

matcaffe compilation error

i am trying to install caffe for matlab while running make matcaffe i am getting the following error some one help me how to resolve this error but i have hdf5.h at usr/include/hdf5/serial/ ./include/...
user avatar
0 votes
0 answers
252 views

Export LD_Preload result in no such file or directory even thought the file exist

I have problem with preloading compiled libraries. I tried to a path to caffe_.mexa64 in ~/.bashrc and it looks like this # MATLAB export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtiff.so.5:/usr/lib/...
user avatar
0 votes
1 answer
192 views

Need help installing matcaffe on ubuntu

I don't know if this is the correct to ask this but I am trying to use caffe on matlab to run some research project. So far I have succesfully do make matcaffe but I encountered error during make ...
user avatar
0 votes
1 answer
1k views

/usr/bin/ld : cannot find -lCUDA_cublas_device_LIBRARY-NOTFOUND

I get the following error while installing a GPU pytorch library. cmake .. has been compiled correctly but l do make -j4 l get the following error [ 98%] Building CXX object caffe2/CMakeFiles/...
user avatar
  • 769
0 votes
1 answer
1k views

Cmake giving error "compute_20", even though the architecture is explicitly unstated in the make file

I have the same error as the person in this question, however, when I tried the solution (Just delete the target for compute_20), I'm still getting the error, even after cleaning the project. To be ...
user avatar
2 votes
1 answer
1k views

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?
user avatar
0 votes
1 answer
79 views

Installing Caffe in Ubuntu 14.04

I need help building Caffe (deep learning) on Ubuntu 14.04. After running the command sudo make all -j4 i get report like this: In file included from /usr/local/include/google/protobuf/arena.h:48:0, ...
user avatar
1 vote
0 answers
866 views

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 /...
user avatar
0 votes
2 answers
933 views

import caffe on python2.7 - ubuntu 18.04 LTS

On ubuntu 18.04 LTS, Caffe-cpu can install by.... sudo apt-get install caffe-cpu ... but it fails when I import on python2. It can only import on python3. How to import caffe on python2? I tried to ...
user avatar
  • 95
1 vote
0 answers
517 views

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 ...
user avatar
  • 11
3 votes
2 answers
6k views

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 ...
user avatar
0 votes
2 answers
489 views

Importing Caffe using sudo not working

When I run the file with sudo it says it can't find it: veli@veli:~/deepdream$ sudo python video-convert.py Traceback (most recent call last): File "video-convert.py", line 16, in <module> ...
user avatar
2 votes
3 answers
8k views

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 ...
user avatar
  • 121
0 votes
0 answers
514 views

Error on make caffe

I'm trying to use caffe in ubuntu 16.04. I'm using a virtual machine and I don't have any Nvidia graphic hardware. I'm stuck from this error for 2 days.. Please help me! CXX/LD -o .build_release/...
user avatar
0 votes
1 answer
64 views

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: ...
user avatar
  • 3
2 votes
0 answers
213 views

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'...
user avatar
0 votes
1 answer
799 views

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 ...
user avatar
2 votes
1 answer
1k views

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') ...
user avatar
2 votes
0 answers
302 views

__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 ] ...
user avatar
  • 971
1 vote
0 answers
1k views

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 ...
user avatar
  • 131
1 vote
1 answer
1k views

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: ...
user avatar
  • 11
1 vote
2 answers
2k views

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 ...
user avatar
  • 5,017
5 votes
1 answer
23k views

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 ...
user avatar
  • 151