Installing Caffe on ubuntu 16.04

ubuntu
deeplearning
caffe

#1

Hi,

I’m new in deep learning and I tried to install caffe-cpu on ubuntu by looking at many articles. But I fail all times.

Can someone show me the correct steps to install this deep-learning framework ?


#2

Did you try youtube?


#3

@BakaryDiaby

Can you provide the steps you have followed and the errors / screenshots you are getting?

Regards,
Kunal


#4

Thanks David !!! I’ve succeed installing it. This video is very helpfull !!!


#5

Hi Kunal,

I’ve installed caffe in ~/Bureau/stage/caffe/caffe-rc5 .

It works well with command line shell, but my goal was to use it with python interface.

So when I open python, and do import caffe this is the error i get :slight_smile:

projet@gmastere:~/Bureau/stage/caffe/caffe-rc5$ python
Python 3.5.3 |Anaconda 2.5.0 (64-bit)| (default, Mar 6 2017, 11:58:13)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import caffe
Traceback (most recent call last):
File “”, line 1, in
File “/home/projet/Bureau/stage/caffe/caffe-rc5/python/caffe/init.py”, line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
File “/home/projet/Bureau/stage/caffe/caffe-rc5/python/caffe/pycaffe.py”, line 13, in
from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver,
ImportError: dynamic module does not define module export function (PyInit__caffe)

Thanks