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

small error in running multi-layer neural network #18

Open
adaliu1 opened this issue Aug 25, 2016 · 0 comments
Open

small error in running multi-layer neural network #18

adaliu1 opened this issue Aug 25, 2016 · 0 comments

Comments

@adaliu1
Copy link

adaliu1 commented Aug 25, 2016

During running the "multilayer_supervised" in matlab, I got an error as below:

Reference to non-existent field 'W'.
Error in stack2params (line 31)
assert(mod(size(stack{d+1}.W, 2), size(stack{d}.W, 1)) == 0, ...
Error in supervised_dnn_cost (line 85)
[grad] = stack2params(gradStack);
Error in minFunc (line 314)
[f,g] = funObj(x,varargin{:});
Error in run_train (line 45)
[opt_params,opt_value,exitflag,output] = minFunc(@supervised_dnn_cost,...

It seems that the error came from the ''stack2params.m''. But I do not find out where the error is in the code. I used the ''stack2params.m'' directly and do not make any modification. Is there any modification be needed? Could anyone help me with this out? Thank you so much.

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

1 participant