when using function 'activations', error shows'The dimensions of the array to be concatenated are not consistent.'

2 views (last 30 days)
I have a trained nerual network. I need to know how well it works and I used 'activations', I have check the documention of the function and it saied that in the format
"b = activations(net,a,'regressionlayer')", a's size can be bigger than the input size of the net.
I have no idea how to solve this error, please help.

Answers (1)

Chuan Yu
Chuan Yu on 21 Mar 2020
I've solved this problem myself. I found that there are many other variables in my net.mat besides the net, which causes the problem.

Categories

Find more on Install Products in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!