Error: File: helperImportMatConvNet.m Line: 223 Column: 31 Unexpected MATLAB expression.

1 view (last 30 days)
problem in using the help import function for pretrained network imagenet-caffe-alex.mat
Error: File: helperImportMatConvNet.m Line: 223 Column: 31
Unexpected MATLAB expression.
Line: 223 Column: 31
function padding = getPadding(0)
% Padding in MatConvNet is defined as [TOP BOTTOM LEFT RIGHT].
padding = 0.pad;
ph = padding(1:2);
pw = padding(3:4);
% only support symmetric padding
assert(ph(1) == ph(2), 'Only symmetric padding is supported');
assert(pw(1) == pw(2), 'Only symmetric padding is supported');
padding = [ph(1) pw(1)];

Answers (0)

Products


Release

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!