INPUT TO NEURAL NETWORK
古いコメントを表示
hi.. i m new at neural networks.
The size of the the image which i m giving as an input to the neural network is 9*92.
as far as i know, number of input neurons should be equal to the size of the image but when i give the following command it gives me an error message.
command is.... ]
net4=newff(minmax(input), [738, 50, 7] {'tansig','tansig','purelin'}, 'trainlm');
train(net4,input);
and error is....
??? Out of memory. Type HELP MEMORY for your options.
Error in ==> calcjx>reprow at 339
m = m(rem(0:(mrows*n-1),mrows)+1,:);
Error in ==> calcjx at 253
gIW{i,j,ts} =
reprow(gIWZ{i,j,ts},inputWeightCols(i,j)) .* ...
Error in ==> calcjejj at 132
Jx = feval(gradientFcn,net,Pd,Zb,Zi,Zl,N,Ac,Q,TS);
Error in ==> trainlm at 284
[je,jj,gradient] =
calcjejj(net,trainV.Pd,Zb,Zi,Zl,N,Ac,El,Q,TS,mem_reduc);
Error in ==> network.train at 216
[net,tr] = feval(net.trainFcn,net,tr,trainV,valV,testV);
should i have to down sample the image???? or tell me plz some way to reduce size of my input,
suggest me some solution...plz.
thanx.
1 件のコメント
Sean de Wolski
2012 年 4 月 11 日
What function are you calling and what are you calling it with? Please edit your question to include the relevant code and the output of whos()
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!