画像を入力としないCNNを構築するにはどうしたらいいでしょうか?
Mostrar comentarios más antiguos
CNNでcsvファイル(数値列)を扱いたいのですが,入力層をどのように設定すればいいのか困っています. 現在は画像を扱っているので
layers=[ imageInputLayer([460 175 3]); % RGB convolution2dLayer(3,20); reluLayer(); maxPooling2dLayer(2,'Stride',2); ...
としています. また,データストアも使用しており,
traindigitDataset = imageDatastore(traindigitDatasetPath,... 'IncludeSubfolders',true,'LabelSource','foldernames');
としています. 画像を入力として扱わないCNNを構築するには,これらをどのような設定にすればよいのでしょうか? ご教授頂けたら幸いです. 宜しくお願い致します.
Respuesta aceptada
Más respuestas (1)
imageInputLayer([1 6000]);
などと、信号を 1xN の"画像"として取り扱った例があります。
layers = [imageInputLayer([1 6000])
convolution2dLayer([1 200],20,'stride',1)]
と構成していきます。英語ですがより具体的な例はこちらも参考にしてください。
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!