イメージサイズ

이 질문에 Atsushi Ueno 님이 플래그를 지정함
  • Atsushi Ueno 님이 2022년 8월 3일에 중복 질문(으)로 플래그를 지정했습니다.
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

질문:

2022년 7월 25일

마감:

2022년 8월 23일

Community Treasure Hunt

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

Start Hunting!