rbgirshick/rcnn

Caffe not found (caffe/matlab/+caffe?)

pecorarista opened this issue · 15 comments

I installed Caffe, and tried to run demo.
But I got the following message.

Warning: Please install Caffe in ./external/caffe 
> In startup (line 22)
  In matlabrc (line 225) 
R-CNN startup done

Academic License

>> key = caffe('get_init_key')     
Undefined function or variable 'caffe'.

I found that startup.m looked for external/caffe/matlab/caffe/,
but actually it is external/caffe/matlab/+caffe/.

I think that I successfully compiled matcaffe.
This may be caused by the upgrade of Caffe.

Hi Did you figure it out how to deal with +caffe issue? Thanks!

I got "Warning: Please install Caffe in ./external/caffe" too ! in matlab.
I installed caffe latest version from now.
Did you solve the warning? please help me ㅠㅠ

yhw2880@gmail.com

How to solve this problem.....I have the same question, while I dont think it's a problem any more.

@xyy19920105 check your mail

I installed Caffe, and tried to run demo.
But I got the following message.
Warning: Please install Caffe in ./external/caffe
> In startup at 22
In matlabrc at 189
R-CNN startup done
>> rcnn_build()
>> key = caffe('get_init_key');
Undefined function 'caffe' for input arguments of type 'char'.

Any idea how to fix it ......I am using Ubantu 14.04 and Caffe-master with Matlab 2014a.
Thanks

tomoc commented

I have the same question.
I worried for a long time.
please help me..

oh, sorry.. i'm late

2015-10-23 15:46 GMT+09:00 tomoc notifications@github.com:

I have the same question.
I worried for a long time.
please help me..


Reply to this email directly or view it on GitHub
#56 (comment).

Anyone solved the issue yet? I need to use rcnn for my work.

I also have this problem,can someone have solved it? thanks a lot

Solution:
if you see Warning: Please install Caffe in ./external/caffe.
most probably instead of folder caffe you have +caffe, so create another symlink to solve this warning. ln -sf $CAFFE_ROOT/caffe/matlab/+caffe $CAFFE_ROOT/caffe/matlab/caffe.

if you get the error Undefined function or variable 'caffe', most probably you haven't done previous step.
This was commited to the Readme file.

@blackCmd Have you fixed this problem? Please help me!

I recently had this same issue, and expanding on smajidas comment my solution was to link +caffe to /external/caffe/matlab rather then to $CAFFE_ROOT itself : ln -sf $CAFFE_ROOT/matlab/+caffe path_to_faster_rcnn/external/caffe/matlab'

I’m guessing this has to do with a change in the Matlab script locations with later versions of Caffe?

I am also have the above issue. "Undefined function or variable 'caffe'."
I use rcnn_masters in windows machine.
If any person have any solution please let me know.
emailId: vadavvt@yahoo.com

hritt commented

a good solution is to use old version caffe, for example caffe-rc2

I have encountered such a problem, how do you solve the problem?
Undefined function or variable 'caffe'.

Error in matcaffe_batch_feat (line 64)
output_data = caffe('forward', {input_data})