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.
when using function 'activations', error shows'The dimensions of the array to be concatenated are not consistent.'
2 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
See Also
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!