Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Index exceeds array bound error when using MATLAB deep learning tutorial code

조회 수: 2 (최근 30일)
Navtej Dhot
Navtej Dhot 2018년 10월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
I am using the deep learning tutorial series code found at https://uk.mathworks.com/matlabcentral/fileexchange/62990-deep-learning-tutorial-series
The code filename is Demo_TrainingFromScratch
The problem that i am having is that when i run the test data i get an error saying Index exceeds array bound. The error appears below this code:
labels = classify(net, imds_test);
ii = randi(4000); im = imread(imds_test.Files{ii});
The only thing i have changed are the images used to train the machine and the name and location of the folders and files. Please note the error only comes during the test data phase.
Thank you

답변 (0개)

이 질문은 마감되었습니다.

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by