helperImportMatConvNet error-- Supports only AlexNet
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
shivasakthi
am 27 Jan. 2017
Kommentiert: Richa
am 2 Apr. 2018
As I could observe, this SeriesNetwork object from the Neural Network Toolbox imports MatConvNet network into a SeriesNetwork object and the function supports only the AlexNet model from MatConvNet. Do we have this function restructured to support the other models in the Matconvnet toolbox?
0 Kommentare
Akzeptierte Antwort
mizuki
am 29 Jan. 2017
Yes. You can for example load VGG16 with following code:
>> cnnURL = ‘http://www.vlfeat.org/matconvnet/models/beta16/imagenet-vgg-f.mat’;
>> cnnMatFile = 'imagenet-vgg-f.mat';
>> websave(cnnMatFile, cnnURL);
>> convnet = helperImportMatConvNet(cnnMatFile);
5 Kommentare
Debanjan Lahiri
am 19 Jan. 2018
I have the same error for % Specify folder for storing CNN model
cnnMatFile = 'C:\Users\Anand\Desktop\MATCONVNET\imagenet-vgg-f.mat';
% Load MatConvNet network into a SeriesNetwork
Net = helperImportMatConvNet(cnnMatFile);
as
"Error using helperImportMatConvNet>getPadding (line 233) Only symmetric padding is supported
Error in helperImportMatConvNet>createPoolLayer (line 122) padding = getPadding(l);
Error in helperImportMatConvNet (line 56) layers{end+1} = createPoolLayer(l);
Error in load_saved_network (line 22) Net = helperImportMatConvNet(cnnMatFile);"
Pls. help in this issue
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!