Input for image3dInputLayer in CNN

2 次查看(过去 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 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by