sergeyk / selective_search_ijcv_with_python

Simple Python script to compute Selective Search proposals in Matlab.
Other
183 stars 113 forks source link

problem running selective_search.py #7

Closed mees closed 10 years ago

mees commented 10 years ago

Hey guys, I am trying to run the caffe rcnn detection and after running selective_search.py I get following error:

Traceback (most recent call last): File "python/selective_search_ijcv_with_python/selective_search.py", line 63, in boxes = get_windows(image_filenames) File "python/selective_search_ijcv_with_python/selective_search.py", line 36, in get_windows shlex.split(mc), stdout=open('/dev/null', 'w'), cwd=script_dirname) File "/usr/lib/python2.7/subprocess.py", line 710, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

As fas as I can tell, I have caffe, matlab and python bindings installed correctly. The rcnn matlab demo was also correctly executed.

mees commented 10 years ago

Problem was solved by exporting in .bashrc PATH=$PATH:/usr/local/MATLAB/R2012a/bin, before I had an alias defined for the binary.

Lvhhhh commented 8 years ago

@mees
scipy.io.matlab.miobase.MatReadError: Mat file appears to be empty what can i do?

ycxia commented 7 years ago

@mees @sergeyk I meet the same problem. I run demo.m in my computer and then unload selective_search_ijcv_with_python to server(without install matlab). Does this work?