Info

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

イメージサイズ

조회 수: 2 (최근 30일)
大空
大空 2022년 7월 25일
마감: Rena Berman 2022년 8월 23일
이 질문에 Atsushi Ueno 님이 플래그를 지정함
audsTrainとaudsValidationサイズが[256 256 1]にならず[256 256 3]になってしまいます。なぜ変わってくれないのでしょうか?
imds = imageDatastore('sindou','IncludeSubfolders',true,'LabelSource','foldernames');
labelCount = countEachLabel(imds)
%% データで振り分ける
rateTrainFiles = 0.6;
[imdsTrain,imdsValidation] = splitEachLabel(imds,rateTrainFiles,'randomize');
s_image = [256 256 1];
audsTrain = augmentedImageDatastore(s_image,imdsTrain);
audsValidation = augmentedImageDatastore(s_image,imdsValidation);

답변 (0개)

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!