Input for image3dInputLayer in CNN

조회 수: 3 (최근 30일)
M M Nabi
M M Nabi 2021년 3월 3일
댓글: M M Nabi 2021년 3월 3일
I have an image of size (11✕17✕10✕100311).
How to I write the CNN input layer or convolutional layer for that??
layers = [
image3dInputLayer([? ? ? ?])
convolution3dLayer([? ? ?],?,'Padding','same')
batchNormalizationLayer
reluLayer
dropoutLayer(0.2)
fullyConnectedLayer(1)
regressionLayer];
  댓글 수: 1
M M Nabi
M M Nabi 2021년 3월 3일
size(XTrain)
= 11 17 3 100303
size(YTrain)
ans =
100303 1
net = trainNetwork(XTrain,YTrain,layers,options);
Gives error :
Error using trainNetwork (line 165)
Number of observations in X and Y disagree.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Clocks and Timers에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by