Deep Learning Toolbox - Deep Belief Network

6 views (last 30 days)
Aik Hong
Aik Hong on 31 Jan 2015
Edited: Walter Roberson on 16 Sep 2016
Hi all, I'm currently trying to run the matlab code from the DeepLearnToolbox, which is the test_example_DBN.m in the 'test's folder.
However during running it encountered some error which is in the 'nnsetup' section. I'm not able to understand what the problem is and how to fix it. Need help to explain and teach me where the problem is and how to make it work, so that i can proceed from here. Thanks in advance..
The error message as below:
??? Attempted to access lmisys(5); index out of bounds because numel(lmisys)=4.
Error in ==> lmiunpck at 23
rs=lmisys(4); rv=lmisys(5); % row sizes of LMISET,LMIVAR
Error in ==> nnsetup at 26
[LMI_set,LMI_var,LMI_term,data]=lmiunpck(lmisys);
Error in ==> dbnunfoldtonn at 10
nn = nnsetup(size);
Error in ==> TryDBN at 31
nn = dbnunfoldtonn(dbn, 10);
  3 Comments
Aik Hong
Aik Hong on 1 Feb 2015
Thanks..i've read through that before, but still quite confused and not able to understand. Looks like i'll go ahead to ask from the author.
Nan Ye
Nan Ye on 16 Sep 2016
This is because DeepLearnToolBox has an NeuralNetwork tool which is conflict with the Matlab inner NN toolbox.So you can solve this as following:
File-SetPath-Add With Subfolders,select your toolbox path.Make sure the path of DeepLearnToolBox is in the top.After that ,try again.

Sign in to comment.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!