Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pecorarista opened this issue Jun 24, 2015 · 15 comments
Open

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

pecorarista opened this issue Jun 24, 2015 · 15 comments

Comments

@pecorarista
Copy link

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.

@apoliver
Copy link

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

@blackCmd
Copy link

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]

@xyy19920105
Copy link

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

@blackCmd
Copy link

@xyy19920105 check your mail

@ghost
Copy link

ghost commented Oct 8, 2015

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
Copy link

tomoc commented Oct 23, 2015

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

@blackCmd
Copy link

blackCmd commented Nov 5, 2015

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
#56 (comment).

@pengtronic
Copy link

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

@Wu950212
Copy link

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

@arasharchor
Copy link

arasharchor commented Dec 11, 2015

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.

@sallymmx
Copy link

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

@Lucaszw
Copy link

Lucaszw commented Apr 6, 2016

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?

@vinoharan
Copy link

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]

@hritt
Copy link

hritt commented Dec 26, 2016

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

@Fredkids
Copy link

Fredkids commented Mar 2, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests