Input for image3dInputLayer in CNN

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 件)

カテゴリ

タグ

質問済み:

2021 年 3 月 3 日

コメント済み:

2021 年 3 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by