Error in bird_demo.m

Issue #33 new
Former user created an issue

I am trying to run the bird_demo.m script. While looking at the opts.model, I was not able to find the suggested model (final-model.mat)in the code on the website for download. So I downloaded a different model titled bcnn-cub-dm-neta .m . I am mentioning this because I think this might be responsible for the error I get.

On line 33 in the code, there is this line ' net = net_move_to_device(net, 'gpu'); ' . The variable net which is input to the function has not been initialized or loaded before executing this line as a result I am getting an error. I checked the 'load(opts.model)' but it does not load 'net'. I even tried 'net = load(opts.model)' but in vain. Where do I load the net from???

Comments (3)

  1. Log in to comment