INPUT TO NEURAL NETWORK
Show older comments
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 Comment
Sean de Wolski
on 11 Apr 2012
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()
Accepted Answer
More 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!