Neural network after train script excecution issue

8 views (last 30 days)
Hi, I have a neural network, after test and validation there is a possibility to make a matlab script of the model. But I have issues that can be seen on the attached image. The input data is the same as the input in training so i thing it should work, no ?

Answers (1)

Greg Heath
Greg Heath on 5 Jun 2017
The inner dimensions in one or more matrix multiplications are not the same.
Use the size function to verify the inner dimensions of each member of the indicated matrix multiplications.
Hope this helps.
Thank you for formally accepting my answer
Greg

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!