필터 지우기
필터 지우기

Images in neural network training

조회 수: 2 (최근 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