Creating a 2D convolutional Neural Network
古いコメントを表示
So, I've been following the matlab documentation: https://www.mathworks.com/help/nnet/ref/convolution2dlayer.html
and to create a convolutional network I have to take this steps for instance:
layer = convolution2dLayer(5,32,'Padding',2,'BiasLearnRateFactor',2);
layer.Weights = randn([5 5 3 32])*0.0001;
But when I do that I get the following error message:
Error using nnet.cnn.layer.Convolution2DLayer/set.Weights (line 156)
Expected input to be one of these types:
gpuArray
Instead its type was double.
Can someone tell me whats wrong? ( I have matlab 2016a plus a video card not cuda compatible)
回答 (1 件)
Joss Knight
2016 年 12 月 21 日
0 投票
You have to have a supported GPU to use ConvNets in R2016a. You need to get R2016b.
カテゴリ
ヘルプ センター および File Exchange で GPU Computing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!