CBDNet icon indicating copy to clipboard operation
CBDNet copied to clipboard

Error in running code of Test_FullImage .m

Open xuxue555 opened this issue 3 years ago • 5 comments

@GuoShi28 ,hi,I carefully read your literature and code, and download to try to run, but there is an error,could you help me correct the error?Thank you for reading my letter. @image

xuxue555 avatar Oct 28 '20 02:10 xuxue555

Anyone who knows how to solve this problem, please feel free to contact me, thank you very much. 未定义变量 "dagnn" 或类 "dagnn.DagNN.loadobj"。 出错 Test_FullImage (line 23) net = dagnn.DagNN.loadobj(net) ;

xuxue555 avatar Oct 28 '20 02:10 xuxue555

Hi, I actually met this problem a long time ago. I can not clearly remember how to solve this problem. But it caused by the failure of the installation of Matconvnet. You can try to run some example code of Matconvnet and confirm this question. You can refer to the installation guide on the Matconvnet official website.

GuoShi28 avatar Oct 28 '20 02:10 GuoShi28

Hi, I actually met this problem a long time ago. I can not clearly remember how to solve this problem. But it caused by the failure of the installation of Matconvnet. You can try to run some example code of Matconvnet and confirm this question. You can refer to the installation guide on the Matconvnet official website.

Thank you very much for your timely reply. I will correct the errors according to your suggestions, There is another problem. I use matlab 2019, cuda9.0, Is it necessary to use matlab2015, cuda8.0?

xuxue555 avatar Oct 28 '20 02:10 xuxue555

You can try different versions of Matlab. I'm not sure. But I suggest you take care of the system path problem. Since the code needs to find the installed Matconvnet. You can also refer to the tutorial at https://www.vlfeat.org/matconvnet/quick/.

GuoShi28 avatar Oct 28 '20 02:10 GuoShi28

Thanks for your response!

xuxue555 avatar Oct 28 '20 03:10 xuxue555