rcnn icon indicating copy to clipboard operation
rcnn copied to clipboard

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

Open pecorarista opened this issue 9 years ago • 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.

pecorarista avatar Jun 24 '15 15:06 pecorarista

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

apoliver avatar Jul 14 '15 19:07 apoliver

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 ㅠㅠ

[email protected]

blackCmd avatar Jul 28 '15 02:07 blackCmd

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

xyy19920105 avatar Sep 14 '15 16:09 xyy19920105

@xyy19920105 check your mail

blackCmd avatar Sep 14 '15 23:09 blackCmd

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

ghost avatar Oct 08 '15 06:10 ghost

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

tomoc avatar Oct 23 '15 06:10 tomoc

oh, sorry.. i'm late

2015-10-23 15:46 GMT+09:00 tomoc [email protected]:

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

— Reply to this email directly or view it on GitHub https://github.com/rbgirshick/rcnn/issues/56#issuecomment-150490827.

blackCmd avatar Nov 05 '15 05:11 blackCmd

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

pengtronic avatar Nov 06 '15 20:11 pengtronic

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

Wu950212 avatar Nov 18 '15 07:11 Wu950212

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.

arasharchor avatar Dec 11 '15 16:12 arasharchor

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

sallymmx avatar Jan 27 '16 10:01 sallymmx

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?

Lucaszw avatar Apr 06 '16 04:04 Lucaszw

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: [email protected]

vinoharan avatar Nov 04 '16 11:11 vinoharan

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

hritt avatar Dec 26 '16 11:12 hritt

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})

Fredkids avatar Mar 02 '17 09:03 Fredkids