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

Attempt to execute SCRIPT vl_nnconv as a function #1025

Open
salehe-e opened this issue Jul 21, 2017 · 3 comments
Open

Attempt to execute SCRIPT vl_nnconv as a function #1025

salehe-e opened this issue Jul 21, 2017 · 3 comments

Comments

@salehe-e
Copy link

I get the following error when trying to run vl_simplenn

Attempt to execute SCRIPT vl_nnconv as a function:
/root/Documents/MATLAB/Add-Ons/Collections/vlfeat_matconvnet/code/vlfeat-matconvnet-6221423/matlab/vl_nnconv.m
@albanie
Copy link
Contributor

albanie commented Jul 25, 2017

This error can occur if:

  1. matconvnet has not been compiled
  2. matconvnet has been compiled, but the mex build files are not on the path
  3. matconvnet has been compiled, the mex build files are on the path, but the matlab file vl_nnconv.m is higher up the path (in terms of priority) than the corresponding mex file, in which case the .m file is found first and the error you mention appears.

Hopefully your issue can be fixed by addressing one of these :)

@waelwmd
Copy link

waelwmd commented Apr 12, 2018

I got the same error, but I found that the matconvnet director was not compiled with Matlab.
I compiled them and it is working now.
these few steps: (it work with Matlab 2017a)

cd( fullfile( 'D:\DeepLearning', 'matconvnet-1.0-beta25' )) % the containing folder of your code
mex -setup
mex -setup C++
addpath matlab
vl_setupnn
run matlab/vl_compilenn ;

@imauGuoyubo
Copy link

get the following error when trying to run FCN_test.m
eeror use vl_imreadjpeg
FILENAMES contains an entry that is not a string.

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

4 participants