Training a Deep Neural Network with MATLAB App Designer

조회 수: 1 (최근 30일)
arya nair
arya nair 2021년 10월 28일
답변: Anshika Chaurasia 2021년 11월 2일
Is it possible to train a Deep Neural Network into an app created from the Matlab App Designer?
I tried the following code.
net = trainNetwork(app.XTrain,app.YTrain,layers,options);
But it shows ''error during training'' while initiating training.
  댓글 수: 2
David Willingham
David Willingham 2021년 10월 28일
Hi Arya,
Can you provide the full error message?
arya nair
arya nair 2021년 10월 28일
Training on single GPU.
|======================================================================================================================|
| Epoch | Iteration | Time Elapsed | Mini-batch | Validation | Mini-batch | Validation | Base Learning |
| | | (hh:mm:ss) | Accuracy | Accuracy | Loss | Loss | Rate |
|======================================================================================================================|
Error using trainNetwork (line 184)
Out of range subscript.
Error in SAA/TrainNetworkButtonPushed (line 524)
net = trainNetwork(app.XTrain,app.YTrain,app.layers,app.options);
Caused by:
Error using sub2ind (line 43)
Out of range subscript.
Error while evaluating Button PrivateButtonPushedFcn.

댓글을 달려면 로그인하십시오.

답변 (1개)

Anshika Chaurasia
Anshika Chaurasia 2021년 11월 2일
Hi,
The error message (Out of range subscript) is received when the user is trying to access an array index exceeding the size of the array.
It would be great if you can share the script for reproduction of the issue at our end. Which MATLAB version you have used?

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by