photo_consistency icon indicating copy to clipboard operation
photo_consistency copied to clipboard

bug in fn_apply.m

Open wanghaozhe123 opened this issue 3 years ago • 3 comments

what is const variable and gamma variable in fn_apply.m file? When I run the program, the error shows uninitialized const and gamma. However, i don't know how to fix it. Can u help me?

wanghaozhe123 avatar Nov 29 '21 03:11 wanghaozhe123

When I run the program I get the following error:

fn_find_group.... 'bin\mace.exe' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 错误使用 fileread (line 23) 无法打开文件 dataset\Yuna_Kim\features\match_maximal_clique.grh。No such file or directory。

出错 fn_find_group (line 42) text = fileread([filepath '\features\match_maximal_clique.grh']);

出错 execute_match (line 52) fn_find_group(filepath,names,nclique);

zhengchaobing avatar Mar 18 '22 07:03 zhengchaobing

When I run the program I get the following error:

fn_find_group.... 'bin\mace.exe' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 错误使用 fileread (line 23) 无法打开文件 dataset\Yuna_Kim\features\match_maximal_clique.grh。No such file or directory。

出错 fn_find_group (line 42) text = fileread([filepath '\features\match_maximal_clique.grh']);

出错 execute_match (line 52) fn_find_group(filepath,names,nclique);

Hi everyone, I'm facing the same error. Probably it is because we don't have this bin\mace.exe file in our OS. Any idea of where do I get this? I tried to found on internet, but I haven't found.

lucasrdalcol avatar May 09 '22 10:05 lucasrdalcol

what is const variable and gamma variable in fn_apply.m file? When I run the program, the error shows uninitialized const and gamma. However, i don't know how to fix it. Can u help me?

May be helpful for future researcher, I think the answer is changing line 5 in fn_apply.m: load([filepath, '\estimation\', 'Estimation.mat']); into load([filepath, '\estimation\', 'Estimation.mat'], 'const', 'gamma');, which explicitly load the variables const and gamma. These variables are previously saved by the final line in fn_estimation.m.

sjtu-jq avatar Mar 14 '24 06:03 sjtu-jq