필터 지우기
필터 지우기

Classification task using 2D sequences input

조회 수: 11 (최근 30일)
Xie Shipley
Xie Shipley 2023년 2월 21일
답변: Xie Shipley 2023년 2월 21일
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`

채택된 답변

Xie Shipley
Xie Shipley 2023년 2월 21일
change `feature` from 48x3x800 to 48x3x1x800

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by