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!