How to fix this error with Neural Network Classifier?
2 ビュー (過去 30 日間)
古いコメントを表示
I used these code lines to built a Neural Network classifier in a face recognition project:
knowing that: the size of the images = 60*80, number of classes=15, 90 images for train set and 75 for test set are used.
net = patternnet(10);
[net,tr] = train(net,feaVectors,labels); % feaVectors=4800*90 and labels=15*90
testY = net(mat_test); % mat_test=4800*75
[c,cm] = confusion(labels_test,testY);
but I have this error:
Out of memory. Type HELP MEMORY for your options.
Error in
[net,tr] = train(net,feaVectors,labels);
Can someone help me to solve this please?
0 件のコメント
採用された回答
Walter Roberson
2015 年 12 月 29 日
Install more RAM. Use a 64 bit operating system and 64 bit MATLAB.
0 件のコメント
その他の回答 (1 件)
Greg Heath
2015 年 12 月 30 日
You need to find an algorithm for face recognition feature extraction to drastically reduce the size of the 4800-dim inputs.
Hope this helps.
Thank you for formally accepting my answer
Greg
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!