rasmusbergpalm / DeepLearnToolbox

Matlab/Octave toolbox for deep learning. Includes Deep Belief Nets, Stacked Autoencoders, Convolutional Neural Nets, Convolutional Autoencoders and vanilla Neural Nets. Each method has examples to get you started.
BSD 2-Clause "Simplified" License
3.8k stars 2.28k forks source link

Error in SAE of your code #159

Open Wang-lei opened 8 years ago

Wang-lei commented 8 years ago

========> Error information in matlab as follows:

Attempted to access lmisys(4); index out of bounds because numel(lmisys)=3.

Error in lmiunpck (line 22) rs=lmisys(4); rv=lmisys(5); % row sizes of LMISET,LMIVAR

Error in nnsetup (line 25) [LMI_set,LMI_var,LMI_term,data]=lmiunpck(lmisys);

Error in saesetup (line 5) sae.ae{u-1} = nnsetup([size(u-1) size(u) size(u-1)]);

Error in test_example_SAE (line 20) sae = saesetup([784 100 ]);

14353wangkai commented 6 years ago

This error means you are using the default function in matlab, which is arisen by forgetting adding path of deeplearningtoobox