DeepPyramid icon indicating copy to clipboard operation
DeepPyramid copied to clipboard

using caffe for DeepPyramid unknown command init

Open ChangyuHu opened this issue 8 years ago • 10 comments

Dear autor When I run the demo of DeepPyramid,the file of demo_deep_pyramid.m, I get the error of unknown command "init",I chiose of caffe version of 0.999,but still error .my platform is ubuntu 14.04+latest version caffe+matlab2014a,I complie caffe success,but when I run the demo_deep_pyramid.m,the demo had error .please help me ,I do not know why .plese juse help ,plese!

ChangyuHu avatar Jun 10 '16 13:06 ChangyuHu

I Know the error why occur,is the API ,in the /caffe-master-latest/matlab/+caffe/private/caffe.cpp,

ChangyuHu avatar Jun 11 '16 04:06 ChangyuHu

Hello! When I run the demo,I also meet a problem that "you must add the matcaffe in your path", but I don't know how to solve it, I have tried many ways. I guess it's an error from caffe,can you help me with that? thank you so much!

cherishtttz avatar Dec 27 '16 03:12 cherishtttz

@cherishtttz Hello! I have the same problem with you. Did you solve this problem?

mickeyli09 avatar Dec 27 '16 05:12 mickeyli09

@cherishtttz dear friends, I think i know you problem. may be you should copy the matcaffe.exe to the work directory. You can try it,if still can not work .you can contact me anytime. my email is :[email protected] and my tel:86+15645638681,china

ChangyuHu avatar Dec 27 '16 07:12 ChangyuHu

@ChangyuHu Thanks for your reply. but it still cannot work. I'm using Ubuntu 14.04,and download the caffe, compiled successfully. Then, make matcaffe created the file——caffe_.mexa64. I followed you said, copy the caffe_.mexa64 to the matlab work directory, it cannot work.

mickeyli09 avatar Dec 27 '16 11:12 mickeyli09

@mickeyli09 well,I think there had always complicated problems in the process.you can see the:

https://github.com/BVLC/caffe/blob/master/matlab/%2Bcaffe/private/caffe_.cpp, include :caffe/matlab/+caffe/private/caffe_.cpp, line 522, static handler_registry handlers[] = { // Public API functions

different version the AIP functions are different

ChangyuHu avatar Dec 27 '16 11:12 ChangyuHu

@ChangyuHu But I don't know what I am supposed to do, can you tell me the specific way? Please

mickeyli09 avatar Dec 28 '16 06:12 mickeyli09

@ChangyuHu Thank you for your reply !I also have tried to add the path of caffe_.mexa64 to matlab workplace, but it still remind me that error.

cherishtttz avatar Dec 28 '16 11:12 cherishtttz

@mickeyli09 according to DeepPyramid code, Search for the appropriate CAFFE version. Different CAFFE have different API functions the interface function of invok CAFFE code can help you find the appropriate version of CAFFE

ChangyuHu avatar Dec 29 '16 10:12 ChangyuHu

In demo_deep_pyramid.m, you can update if exist('caffe')~=3 to if exist('caffe_'). or you use caffe by fast-rcnn

gczhcm avatar Mar 09 '18 14:03 gczhcm