Input for image3dInputLayer in CNN

2 visualizzazioni (ultimi 30 giorni)
M M Nabi
M M Nabi il 3 Mar 2021
Commentato: M M Nabi il 3 Mar 2021
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 Commento
M M Nabi
M M Nabi il 3 Mar 2021
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.

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by