i compiled caffe successfully in my ubuntu machine but cannot import in python.
Caffe is installed /home/pbu/Desktop/caffe
i tried adding the /home/pbu/caffe
Adding to the above best answer. After you run make
for python files by running make pycaffe
where you ran your previous make
s. Then you have to export that python path by running export PYTHONPATH=
. You can choose to run this everytime before running a python code which utilizes caffe or add it to your ~/.bashrc
.