why do I get the error Undefined function or variable 'net'. Error in testalexnet1 (line 16) trainingFeatures = activations(net,trainingImages,layer);
显示 更早的评论
I am trying to create my own image data store and this is my code
trainingFeatures = activations(net,trainingImages,layer);
4 个评论
Hridya PI
2017-12-18
Walter Roberson
2017-12-18
Please show your code before that. In particular, please show your trainNetwork call.
Hridya PI
2017-12-18
编辑:Walter Roberson
2017-12-18
Hridya PI
2017-12-18
编辑:Walter Roberson
2017-12-18
采纳的回答
更多回答(1 个)
Hridya PI
2017-12-19
编辑:Walter Roberson
2017-12-19
7 个评论
Walter Roberson
2017-12-19
It might be okay; I am not familiar with that function.
Hridya PI
2017-12-29
Walter Roberson
2017-12-29
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
2017-12-29
Hridya PI
2017-12-29
Hridya PI
2017-12-30
编辑:Walter Roberson
2017-12-30
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!