Hi Paridhi,
Thank you very much for your reply
I have run
make pycaffe
but I got this error after a while:
/usr/bin/ld: cannot find -lopencv_imgcodecs
collect2: error: ld returned 1 exit status
Do you have any further idea?
7 Eylül 2017 Perşembe 22:16:39 UTC+2 tarihinde Paridhi Srivastava yazdı:
Hey,
I was facing the same issue a bit ago. But for me, the error was some dependencies needed in compiling the python wrapper. Try running the following:
make pycaffe
make distribute
Pycaffe is the python interpreter for running caffe in Python. But make sure to change the Makefile.config according to the instructions on the caffe site.
Also you'll have to export $CAFFE_ROOT to the path of the caffe directory on your system.
Hope this solves your query.
On Thursday, September 7, 2017 at 9:38:17 AM UTC-4, Kağan İncetan wrote:
Hi,
First of all I am quite a newbie so excuses for too simple questions or confusions.
I have followed all the instructions from the caffe website.
I have finally able to accomplish the following:
mkdir build
cd build
cmake ..
make all
make install
without any problem. Now I am doing
make runtest
but some tests are already failed.
Also when I type import caffe in the python terminal I am getting No module named _caffe error. So I believe I could not manage to install caffe properly.
I have done
export PYTHONPATH=/path/caffe/python:$PYTHONPATH
P.S when I type
$ echo $CAFFE_ROOT
it returns me nothing
Thanks in advance