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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!