caffe icon indicating copy to clipboard operation
caffe copied to clipboard

Matlab Wrapper: "caffe" in matcaffe_demo.m

Open dkkim930122 opened this issue 12 years ago • 2 comments

Hello! I wrote down a simple program: im = imread('/home/dkkim930122/caffe-master/examples/images/cat.jpg'); test = matcaffe_demo(im,0);

And, as I see "matcaffe_demo.m", there is the following code: scores = caffe('forward', input_data);

Where does this function "caffe" is located? I originally thought this "caffe" is coming from "matcaffe.cpp". However, although I DELETED the "matcaffe.cpp" file, it works perfectly...and I am super confused now...

Could someone explain where this "caffe" function is located? Or where that file is? Thanks a lot!!!

dkkim930122 avatar Jun 06 '14 01:06 dkkim930122

just use the 'which' command in matlab to locate the function: which caffe

shicai avatar Jun 19 '14 08:06 shicai

You are very confused. Having compiled the MATLAB wrapper all you deleted was the source code, and not the compiled module, so it had no effect.

Essential MATLAB knowledge and how to build software at all are outside the scope of this forum.

shelhamer avatar Jul 18 '14 11:07 shelhamer