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

1 次查看(过去 30 天)
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)];

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by