ArcherFMY / HCA_saliency_codes

Codes for HCA (Hierarchical Cellular Automata for Visual Saliency) accepted by IJCV 2018.
MIT License
20 stars 10 forks source link

error dagnn.DagNN.loadobj #2

Open JoshuaLPF opened 4 years ago

JoshuaLPF commented 4 years ago

Hello: I meet some difficulties while running this program. ( I use Matlab2019a and VS2017) When I run 'runme.m', I get some error:

wrong usage dagnn.Layer/load (line 191) No property dilate for a layer of type dagnn.Conv.

error dagnn.DagNN.loadobj (line 28) block.load(struct(s.layers(l).block)) ;

error runme (line 11) fcnnet = dagnn.DagNN.loadobj(load('./matconvnet-1.0-beta19/Data/pascal-fcn32s-dag.mat')) ;

This problem occurs whether I use matconvnet-1.0-beta19 or matconvnet-1.0-beta25. Sincerely please help me solve this problem. How can i solve it? Or should I use a lower version of matlab and vs? (What version of matlab and vs did you use?) Thank you in advance.

JoshuaLPF commented 4 years ago

Please reply to me whenever you see it, it is important to me。Thanks!

ArcherFMY commented 4 years ago

Hi, Sorry, I do not know how to fix your issue. Your problem seems to be related to the MatConvnet, but I am not familiar with it. This work was done several years ago, and I used MatLab 2015b on Ubuntu 16.04 to run the code.

JoshuaLPF commented 4 years ago

Hi, Sorry, I do not know how to fix your issue. Your problem seems to be related to the MatConvnet, but I am not familiar with it. This work was done several years ago, and I used MatLab 2015b on Ubuntu 16.04 to run the code.

Hi, Thanks very much for your reply! I think it might be a problem with the wrong version. And When you run this code, what is the version of the VS compiler? Or you used other c ++ compiler? Best wishes!

ArcherFMY commented 4 years ago

I used gcc/g++ 4.8

JoshuaLPF commented 4 years ago

I used gcc/g++ 4.8

I sincerely appreciate your help and your previous contributions.The problem i have solved. Best wishes.