2016_person_re-ID
2016_person_re-ID copied to clipboard
The variable "dagnn" or class "dagnn.DagNN.loadobj" is not defined.
@layumi my configuration is cpu+matlab 2016a+vs2015+win10.
first,i run 'gpu_compile' to compile the matconvnet,and shows that the compilation is successful.then i want to run 'test_gallery_query_razy',but there was an error shows that:
The variable "dagnn" or class "dagnn.DagNN.loadobj" is not defined error test_gallery_query_crazy (line 8) net = dagnn.DagNN.loadobj(netStruct.net);
i used the method from internet--add 'run <MATCONVNETROOT>/matlab/vl_setupnn.m',but it also have the same error.
Hi @rmxhhh
Have you included the $MATCONVNET/matlab
path?
Under windows, you may need to change the file path from /
to \
.
Thank you,but i don't quiet understand what you mean.you say i don't need to install the original Matconvnet. What is the $MATCONVNET/matlab path?
@layumi Thank you,but i don't quiet understand what you mean.you say i don't need to install the original Matconvnet. What is the $MATCONVNET/matlab path?
@rmxhhh @xiaosuzhang
Sorry. I did not make it clear.
You need to make sure that you have included $This Repo/matlab$.
I have included +dagnn
under the This Repo/matlab
.
In order to be able to use dagnn you should include MatConvNet to your path (http://www.vlfeat.org/matconvnet/)