vcg-uvic / TILDE

Repository for "TILDE: A Temporally Invariant Learned DEtector", CVPR2015
50 stars 23 forks source link

matlab evaluation error #3

Closed hanghoo closed 7 years ago

hanghoo commented 7 years ago

Hello,kmyid. I put Chamonix, Courbevoie, Frankfurt, Mexico, Panorama, StLouis folders at project root/data/, and run evaluate_WebcamDataset_2percents.m. There are some errors. /bin/bash: /home/hoo104/TILDE/matlab/external/external_codes/methods/opencvKeypointDetector: cannot execute binary file: Exec format error Error using fscanf Invalid file identifier. Use fopen to generate a valid file identifier.

Error in loadFeatures (line 3) dim = fscanf(fid, '%f',1);

Error in getKeypoints_SIFT (line 44) [feat, ~, ~] = loadFeatures(out);

Error in evaluateKeyPointsCompWithDir_ratio (line 151) features{i_method}{iimg} = eval(['getKeypoints' keyptMethodName '(list_img_info{i_img},p)']);

Error in computeKP (line 59) res = evaluateKeyPointsCompWithDir_ratio(combinations{idxComb,1}, combinations{idxComb,2}, combinations{idxComb,3}, parameters);

Error in evaluate_WebcamDataset_2percents (line 53) Allrepeatability = computeKP(parameters);

kmyi commented 7 years ago

Hello,

/bin/bash: /home/hoo104/TILDE/matlab/external/external_codes/methods/opencvKeypointDetector: cannot execute binary file: Exec format error

You need to compile the binary properly. See readme.

Kwang

hanghoo commented 7 years ago

Hello, kmyid Running link.m is compiling the binary? And running link.m isn't a right method to solve it. If not, I really don't know how to compile the binary.

thanks for your reply.

kmyi commented 7 years ago

Hi,

Try running make.m.

Kwang


Kwang Moo Yi, Ph.D., PostDoc @EPFL CVLab Tell: +41 21 693 67 16

On 6 Nov 2017, at 15:53, Hoototo notifications@github.com wrote:

Hello, kmyid Running link.m is compiling the binary? And running link.m isn't a right method to solve it. If not, I really don't know how to compile the binary.

thanks for your reply.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

hanghoo commented 7 years ago

Hello, kmyid The make.m is in /TILDE/src/make.m. Thus, there is no content in it. you reply quickly,thanks.

kmyi commented 7 years ago

I see, so it was never finished then. I think you’ll have to do it manually then. Go to the matlab/external/external_codes/* and type make

Frankly, It’s been two years so I honestly only have vague memory of the usage.

Kwang


Kwang Moo Yi, Ph.D., PostDoc @EPFL CVLab Tell: +41 21 693 67 16

On 6 Nov 2017, at 16:07, Hoototo notifications@github.com wrote:

Hello, kmyid The make.m is in /TILDE/src/make.m. Thus, there is no content in it. you reply quickly,thanks.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

hanghoo commented 7 years ago

Yes, it is hard to remember any part of the codes which wrote 2 years ago. But I do not understand

"Go to the matlab/external/external_codes/* and type make".

And I don't figure out exactly how to do it. I hope you can explain that.

kmyi commented 7 years ago

Hi,

If you have no idea what I am talking about, then I think you should have a look at how compiling works in Nix systems with gnu make. I'll leave you to figure this one out.

Cheers, Kwang

hanghoo commented 7 years ago

well,I know little about compiling works about c++, but I don't see any CMakeLists in the matlab/external/external_codes/* I guess there are some misunderstandings here.

kmyi commented 7 years ago

Just build with the provided makefiles in each directory

hanghoo commented 7 years ago

I try to make it. Thank you very much.