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

Error when executing fcnTrain.m #41

Open
mgarbade opened this issue Oct 17, 2016 · 2 comments
Open

Error when executing fcnTrain.m #41

mgarbade opened this issue Oct 17, 2016 · 2 comments

Comments

@mgarbade
Copy link

I'm trying to run the training of matconvnet on Pascal voc.
I just compiled and tested matconvnet then downloaded your code. Adapted the paths to matconvnet and data but the execution of fcnTrain.m keeps on failing with this error message:

Error using  ' 
Transpose on ND array is not defined. Use PERMUTE instead.

Error using  ' 
Transpose on ND array is not defined. Use PERMUTE instead.

Error in vl_argparse (line 77)
    values = struct2cell(args{ai})' ;

Error in cnn_train_dag (line 34)
opts = vl_argparse(opts, varargin) ;

Error in fcnTrain (line 99)
info = cnn_train_dag(net, imdb, getBatchWrapper(bopts), ...

It seems like in vl_argparse it tries to transpose an empty 0x0 matrix. I'm a little confused since there is quite a lot of argument parsing. Do you have any idea how to fix this?

Do I need to pass fcnTrain with some special argument? (eg Database-Name or Model Name?)
Thanks in advance

@Isadorable
Copy link

Hi,
have you managed to fix this problem by any chance?
I've temporarily changed line 77 to

if isempty(args{ai})
	values = [];
else
	values = struct2cell(args{ai})' ;
end

but it's more a trick than a fix. Still, it works.

@JoshuaLPF
Copy link

hi,did you solve this problem?

Error in fcnTrain (line 99)
info = cnn_train_dag(net, imdb, getBatchWrapper(bopts), ...

I have the same problem like yours. I really hope you can help me sovle this problem. Thanks in advance.

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

3 participants