Minimal-Bag-of-Visual-Words-Image-Classifier icon indicating copy to clipboard operation
Minimal-Bag-of-Visual-Words-Image-Classifier copied to clipboard

IOError: SIFT executable not found

Open edess opened this issue 10 years ago • 13 comments

Hello! Hope you're fine. Need a help.

I've been trying the all program, and I reach this problem "IOError: SIFT executable not found error", and you already said in that case to "try sudo apt-get install libc6-i386". because "sift is a 32Bit executable and you need to install additional libraries to make it run on 64Bit systems"

So I did try to get this library, but I can't. I'm working on Mac OS X Mavericks (10.9). Apparently, the command "sudo apt-get install libc6-i386" will work on Linux distribution, but not on Mac.

Do you have any idea on how I could get this library for my 64Bit system ???

Thanks!!!!

edess avatar Aug 26 '14 10:08 edess

Hi Edess,

how did you install SIFT?

Thanks Ludwig

shackenberg avatar Aug 26 '14 12:08 shackenberg

Hi Ludwig ! thanks. Just your question help me to understand my mistake. Since I work in Virtualenv, I forgot to install SIFT and Libsvm (the Prerequisites) in the good working directory.

Thank to you, I corrected this mistake.

But just after, I got another Error (here is the screenshot of the error) screen shot 2014-08-27 at 11 42 08 am

But the path is not wrong and the file not empty.

I'm trying to find the origin of the problem now. Do you have any idea about it ???

Thanks a lot Ludwig

edess avatar Aug 27 '14 02:08 edess

i have installed SIFT and Libsvm and still get the IOError: SIFT executable not found and i am in mac too

chuckytah avatar Jan 28 '16 17:01 chuckytah

Sift and libsvm have to be in the work directory. See https://github.com/shackenberg/Minimal-Bag-of-Visual-Words-Image-Classifier#prerequisites

shackenberg avatar Feb 22 '16 15:02 shackenberg

Hi,

I have run "sudo apt-get install libc6-i386" on ubuntu 64 bits. But it still does not work. Are there any solutions and what should I do?

Thank you so much.

bragilee avatar Mar 23 '16 14:03 bragilee

Hi, thanks for your interest. Can you list all the steps you did and all the things you tried and the exact error message? Thanks!

shackenberg avatar Mar 23 '16 14:03 shackenberg

Hi,

Sorry about the ambiguous explainations.

Firstly, I run on the max os. I just follow all steps you have listed in "Prerequisites" section. Then I encounter the problem "IOError: SIFT executable not found error", I try to run the command to install "libc6-i386", but i do not know how to use apt-get command on max os.

Then I move to ubuntu, I follow the instructions you have listed, at this time I can run " apt-get install libc6-i386" on linux. It seems fine that everything has been installed. But when I try to learn a classifier, the error occurs as "IOError: SIFT executable not found error", so I do not know how to deal with that.

bragilee avatar Mar 23 '16 14:03 bragilee

Sorry bragilee, for coming back to you so late. Can you please list all the steps that you did and show that the sift bin is in the correct folder.

shackenberg avatar Apr 07 '16 09:04 shackenberg

Hi! I am also having the same error. error_bow As you can see my working directory is C:\Users\ISHAAN , so I copied all my files, sift and libsvm folder in this directory. Can you tell what should be done?

IshaanGupta5 avatar Apr 10 '16 07:04 IshaanGupta5

Hi, sorry, I can not help you as I don't have Windows to reproduce the problem. :(

2016-04-10 9:28 GMT+02:00 IshaanGupta5 [email protected]:

Hi! I am also having the same error. [image: error_bow] https://cloud.githubusercontent.com/assets/18327766/14408659/a3be42b8-ff1b-11e5-88e3-8782b643bbe9.PNG As you can see my working directory is C:\Users\ISHAAN , so I copied all my files, sift and libsvm folder in this directory. Can you tell what should be done?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/shackenberg/Minimal-Bag-of-Visual-Words-Image-Classifier/issues/7#issuecomment-207939455

shackenberg avatar Apr 10 '16 14:04 shackenberg

same problem with @edess 2016-05-10 08 56 15

yehjames avatar May 10 '16 12:05 yehjames

Hi edess and yehjames, I have no idea what could be the cause and no time at the moment to investigate. Sorry

shackenberg avatar Jun 27 '16 15:06 shackenberg

You just have to export the location to the sift executable to the PATH and source it. it will solve the issue.

abhijit-15 avatar Dec 02 '17 01:12 abhijit-15