Deep Learning Toolbox - Deep Belief Network
9 views (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
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!