The output size of the last layer (18) doesn’t match the number of classes (38) in patternet

3 次查看(过去 30 天)
Hi
I used patternnet toolbox for classification problem However, The output size of the last layer is 18 which doesn’t match the number of classes which is 38 classes.
what should i change?
This is my code
hiddenLayerSize =2;
net = patternnet(hiddenLayerSize, trainFcn);
Thank you

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by