shackenberg / Minimal-Bag-of-Visual-Words-Image-Classifier

Implementation of a content based image classifier using the bag of visual words approach in Python together with Lowe's SIFT and Libsvm.
236 stars 94 forks source link

IOError: SIFT executable not found #7

Open edess opened 10 years ago

edess commented 10 years ago

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!!!!

shackenberg commented 10 years ago

Hi Edess,

how did you install SIFT?

Thanks Ludwig

edess commented 10 years ago

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

chuckytah commented 8 years ago

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

shackenberg commented 8 years ago

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

bragilee commented 8 years ago

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.

shackenberg commented 8 years ago

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!

bragilee commented 8 years ago

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.

shackenberg commented 8 years ago

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.

IshaanGupta5 commented 8 years ago

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?

shackenberg commented 8 years ago

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 notifications@github.com:

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

yehjames commented 8 years ago

same problem with @edess

2016-05-10 08 56 15
shackenberg commented 8 years ago

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

abhijit-15 commented 6 years ago

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