Classification task using 2D sequences input
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Xie Shipley
am 21 Feb. 2023
Beantwortet: Xie Shipley
am 21 Feb. 2023
layers = [ ...
sequenceInputLayer([48 3 1]])
convolution2dLayer([3 3], 1)
bilstmLayer(20)
fullyConnectedLayer(2)
classificationLayer
];
trainNetwork(feature, label, layers, options)
`feature` is a 600x1 cell and it's element is 48x3x800 matrix
`label` is 600x1 cell and it's elements is 1x800
I want to map a vector of size 48x3 to label
But got this error: training sequence have dim 48 3 800 but input layer have dim 48 3 1, should I create a new data store or use `arrayDatastore`
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!