Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The variable "dagnn" or class "dagnn.DagNN.loadobj" is not defined. #20

Open
rmxhhh opened this issue Jul 5, 2018 · 5 comments
Open

Comments

@rmxhhh
Copy link

rmxhhh commented Jul 5, 2018

@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 /matlab/vl_setupnn.m',but it also have the same error.

@layumi
Copy link
Owner

layumi commented Jul 6, 2018

Hi @rmxhhh
Have you included the $MATCONVNET/matlab path?
Under windows, you may need to change the file path from / to \.

@xiaosuzhang
Copy link

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
Copy link
Author

rmxhhh commented Jul 6, 2018

@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?

@layumi
Copy link
Owner

layumi commented Jul 6, 2018

@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.

@attighouda
Copy link

In order to be able to use dagnn you should include MatConvNet to your path (http://www.vlfeat.org/matconvnet/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants