Borrar filtros
Borrar filtros

Images in neural network training

2 visualizaciones (últimos 30 días)
Tousif Ahmed
Tousif Ahmed el 11 de Abr. de 2017
I have 65 Images in a file, when i am trying to run it on a neural network with the help of 'nprtool', i am getting this error after running this code. Face is a name of the file where the images are stored.
myDir = 'face/'; ext_img= '*.jpg'; X = dir([myDir ext_img]); nfile = max(size(X)) ;
ext_img= '*.jpg';
T= zeros;
net = feedforwardnet(100);
net = configure(net,X,T);
y1 = net(X)
A = reshape(linspace(0,1,16),[4 4])'
[net,tr] = train(net,X,T,Xi,Ai,EW)
I am getting this error. please can anyone help me outwith the code. Error using network/configure (line 118) Input data is not a matrix or cell array. Thank You

Respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by