-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
matcaffe on windows 10: Undefined function 'caffe_' for input arguments of type 'char'. #4461
Comments
the if it doesnt find caffe_, it means it is not in the path or pdw .
so basically if that folder is not your current folder, or caffe+ is not in your path you will get that error.
and I need to say that, I had already set matcaffe path to the MatlabPath. and having done that, I wrote the code I posted above . |
Hi, @Coderx7 , thanks a lot for timely reply and sorry for my delayed. :) When I typed While when I typed Then I tried to follow your advice on modifying the What is your advice on this stage? Or, should I abandon playing caffe on windows? Thanks again. Edit: Another earlier issue found #3967; and still, no effective solution yet.... |
@stoneyang : have you looked at the stackoverflow link I gave earlier? |
@Coderx7 : Yeah, I've checked that link at the latest trial and I cannot add path to matlab because the directory contains a |
@stoneyang I am experiencing exactly similar issue as you. So far, I have not come across any solution. |
I resolved the issue using the following steps:
|
@z-khan , your suggestions works before I have time to solve it :) Thank you very much!!! |
I'm trying to follow this link. Caffe library built successfully with a bunch of warnings but I can not execute caffe.run_tests() statement. It terminates immediately resulting the following message - Undefined function 'caffe_' for input arguments of type 'char'. I tried the above provided solutions but none worked. Did anyone face the same issue recently ? I'm using Windows-7, Cuda 7.0, CUDnn 4.0, Visual Studio 2013, Matlab 2016b(classroom licence). To build caffe I'm using the following configuration - if NOT DEFINED MSVC_VERSION set MSVC_VERSION=12 Every time I build, before it prints the configuration summery it prints The system cannot find the drive specified. |
@avijoyChakma I have the same problem with you? Did you fix it? And I have installed the newest caffe ,but I didn't find a project named matcaffe. Can anybody help? I figured that my Matlab R2014B can't add a path with a '+'. So the caffe_.mex can't be found by matlab. I copy the file caffe_.mex to the /caffe/matlab path. Then it's all right! |
@YoungMagic See if #5219 can help you. |
I also met this. I solved it by compiling matcaffe: make all matcaffe |
caffe was pulled from github repo and was configured as the instructions under the windows branch, and the library was successfully compiled.
When running in-box matlab demo --- classification_demo.m, I got:
Error in caffe.set_mode_gpu (line 5)
caffe_('set_mode_gpu');
Error in classification_demo (line 66)
caffe.set_mode_gpu();
PC resources:
PS: The generated matcaffe directory has already been set in path of MATLAB, and Release directory has already been included at the end of my system
PATH
.I've spent several days googling around and found someone asking the same (or alike) question, such as: 1, and 2. It seems of no avail to solve this problem.
Anyone could shed me some light? Thanks in advance!
The text was updated successfully, but these errors were encountered: