Images in neural network training

1 回表示 (過去 30 日間)
Tousif Ahmed
Tousif Ahmed 2017 年 4 月 11 日
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

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by