why do I get the error Undefined function or variable 'net'. Error in testalexnet1 (line 16) trainingFeatures = activations(net,trainingImages,layer);
Show older comments
I am trying to create my own image data store and this is my code
trainingFeatures = activations(net,trainingImages,layer);
4 Comments
Hridya PI
on 18 Dec 2017
Walter Roberson
on 18 Dec 2017
Please show your code before that. In particular, please show your trainNetwork call.
Hridya PI
on 18 Dec 2017
Edited: Walter Roberson
on 18 Dec 2017
Hridya PI
on 18 Dec 2017
Edited: Walter Roberson
on 18 Dec 2017
Accepted Answer
More Answers (1)
Hridya PI
on 19 Dec 2017
Edited: Walter Roberson
on 19 Dec 2017
7 Comments
Walter Roberson
on 19 Dec 2017
It might be okay; I am not familiar with that function.
Hridya PI
on 29 Dec 2017
Walter Roberson
on 29 Dec 2017
Possibly you could get that error if you were passing in a 3D array instead of 2D. 3D would occur for a color image.
Hridya PI
on 29 Dec 2017
Hridya PI
on 29 Dec 2017
Hridya PI
on 30 Dec 2017
Edited: Walter Roberson
on 30 Dec 2017
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!