필터 지우기
필터 지우기

How to use the subfolder instead of the parent folder in imageDataStore ?

조회 수: 1 (최근 30일)
Mohamed Elbeialy
Mohamed Elbeialy 2020년 12월 1일
댓글: Mohamed Elbeialy 2020년 12월 1일
I am using ImageDataStore for classifications, However, the imds.Labels of classes is (the source folder), and I am looking to use the subfolder inside it as classes
New RETINA_OCT2020 (the source parent folder ) includes (4 subfolders named ' car, human, dog, tree'). How to change the imds.Lables to the subfolder names instead of the source folder
  댓글 수: 3
Mohamed Elbeialy
Mohamed Elbeialy 2020년 12월 1일
Its already included. The point is to change imds.lables from the main source folder to the catagrory of 4 subfolders names
Mohamed Elbeialy
Mohamed Elbeialy 2020년 12월 1일
This is the message that I RECIEVE
Invalid training data. The output size (4) of the last layer does not match the number of classes (1).

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by