Error in bird_demo.m
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)
-
-
repo owner That was missed in the previous update. You can use the model from http://maxwell.cs.umass.edu/bcnn/models2/bcnn-cub-dm.mat and the SVM classifier from http://maxwell.cs.umass.edu/bcnn/models2/svm_cub_vdm.mat
-
thank you very much. The model is useful, then, if someone get an error "Attempt to execute SCRIPT vl_nnconv as a function", you can solve it from http://www.vlfeat.org/matconvnet/faq/
- Log in to comment
I also meet this problem,now,do you know how to solve it ?