1

我现在正在编译 CPU 版本。我正在使用 matlab 2020a。我试图从 matconvnet 中删除 vl_nnconv.m,但我仍然收到以下错误。我正在使用的 matconvnet 版本是 matconvnet-1.0-beta25 我被困在这里两天了,有人可以帮我解决这个问题吗?

https://github.com/XinLi-zn/TADT 以上是我正在尝试处理的 github 代码。以下是我得到的错误:

Error using vl_nnconv
The option name is not a string (argument number 5)

Error in dagnn.Conv/forward (line 11)
      outputs{1} = vl_nnconv(...

Error in dagnn.Layer/forwardAdvanced (line 85)
      outputs = obj.forward(inputs, {net.params(par).value}) ;

Error in dagnn.DagNN/eval (line 91)
  obj.layers(l).block.forwardAdvanced(obj.layers(l)) ;

Error in get_subwindow_feature (line 37)
    net_feat.eval({'input',gpuArray(patch_sw)});

Error in tadt_tracking (line 63)
   feat_groups = get_subwindow_feature(net_feat, img, sw_location, input_sz, feat_layer);

Error in Demo_TADT (line 23)
[result, fps]=tadt_tracking(seq_info.img_list, seq_info.gt(1,:), vgg16_model_path, display);
 

以下是导致错误的函数,参数是 obj.pad

function outputs = forward(obj, inputs, params)
      if ~obj.hasBias, params{2} = [] ; end
      outputs{1} = vl_nnconv(...
        inputs{1}, params{1}, params{2}, ...
        'pad', obj.pad, ...
        'stride', obj.stride, ...
        obj.opts{:}) ;
    end
4

0 回答 0