-
Notifications
You must be signed in to change notification settings - Fork 476
Undefined function 'caffe_' for input arguments of type 'char'. Matlab #84
Comments
i have the same problem,MATLAB error: This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code |
@Belinda-great Sorry not yet, caffe_ works for choosing the gpu core, but not the 'get_init_key', that's weird. |
Same problem.... |
The file "caffe_.mexw64" and "caffe_.lib" is in "..\Build\x64\Release\matcaffe+caffe\private". So you should copy the fold "..\Build\x64\Release\matcaffe+caffe\private" to "..\matlab+caffe\private", or change the path "..\matlab+caffe\private" into "..\Build\x64\Release\matcaffe+caffe" in demo. |
Maybe one could see BVLC#4461 for reference. |
Cleanup docs to reflect multigpu batch change
I met such an Matlab error for the classification demo
Undefined function 'caffe_' for input arguments of type 'char'.
Error in is_valid_handle (line 12)
init_key = caffe_('get_init_key');
Error in caffe.Net (line 36)
CHECK(is_valid_handle(hNet_net), 'invalid Net handle');
Error in caffe.get_net (line 28)
net = caffe.Net(hNet);
Error in caffe.Net (line 31)
self = caffe.get_net(varargin{:});
Error in classification_demo (line 88)
net = caffe.Net(net_model, net_weights, phase);
Thank you in advace for your response
The text was updated successfully, but these errors were encountered: