Open lgmendes opened 9 years ago
Hi,
this should be solved by adding CPU_ONLY
option to makefile: CXXFLAGS=-c -Wall -DCPU_ONLY
. Now even CaffeLink will be compiled without GPU support. Also, make sure you initialize it with "UseGPU"->False
in Mathematica.
Thanks!:+1: Now I have another problem:
can you help me ?
Thank you
Yeah, that is because you have Caffe rc2 or newer. And I apparently did not push an update. I think I did not feel like changing examples and fixing broken parsing of caffe.proto back then. Oh well, I'm going to check what I have and probably create a new branch for now.
Thank you!!
Thank you!! :+1: That problem is solved. However I found another problem:
I will try to figure out the solution
Are you on Os x? There are a bit different dependencies. If so, please try:
make -f Makefile.osx
Problem solved. :+1: Makefile.osx works well. In my case I had only to change to the libc++ (Mac OS 10.9).
The libcaffeLink.dylib was generated and I copy to a folder on $LibraryPath. At this point I have problems in the initialisation of the CaffeLink in Mathematica:
Now Mathematica has probably trouble finding some libraries CaffeLink needs. LibraryLink```$LibraryError
might tell you what it is. I guess it is libcaffe.dylib
. I am not familiar with osx so I can only give you this hint.
:+1: :+1:
install_name_tool -id full/path/to/lib/to/load libfile.dylib
solve the problem. ImageNet.nb and libLink-test.nb work without any problem.
Thank you again!
Hi,
Can you help me building the CaffeLink. When I try I found the following error:
I have build the Caffe without GPU. The edited make file is
Thank you
All my best