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!