bertinetto / siamese-fc

Arbitrary object tracking at 50-100 FPS with Fully Convolutional Siamese networks.
http://www.robots.ox.ac.uk/~luca/siamese-fc.html
MIT License
619 stars 224 forks source link

Reference to non-existent field 'dilate' #51

Open Angel-Jia opened 6 years ago

Angel-Jia commented 6 years ago

I am using matlab 2017a and matconvnet-1.0-beta20. When I execute run_experiment, after loading imdb_video, I encounter this problem:

loading imdb video...
construct network
Reference to non-existent field 'dilate'.

Error in vl_simplenn_display (line 82)
      ks = (ks - 1) .* ly.dilate + 1 ;

Error in vid_create_net>add_block (line 60)
info = vl_simplenn_display(net) ;

Error in vid_create_net>modified_alexnet (line 141)
    net = add_block(net, opts, '2', 5, 5, 48, 256, strides(3), 0) ;

Error in vid_create_net (line 28)
    net = modified_alexnet(struct(), opts) ;

Error in make_siameseFC (line 22)
    branch = vid_create_net(...

Error in experiment>make_net (line 136)
    net = make_siameseFC(opts);

Error in experiment (line 69)
    net = make_net(opts);

Error in run_experiment (line 17)
    experiment(imdb_video, opts);

I have tried matconvnet-1.0-beta20, matconvnet-1.0-beta21, matconvnet-1.0-beta24 and all of them end with the same problem. How can fix it?

bertinetto commented 6 years ago

Modify the network with dilate field set to 0 should work.

Anyway, I highly recommend to use the SiamFC v2 code of CFNet (referred in paper as baseline-conv5). https://github.com/bertinetto/cfnet