Comments (7)
Did you add the full (absolute) path to the env variable?
from pcv.
Yes, I do. I test it under Windows 7 OS. After I add the full path to the env variable, It throws these error:
Traceback (most recent call last):
File "F:/dropbox/Dropbox/translation/pcv-notebook/ch02/ch02_sift.py", line 14, in <module>
l1, d1 = sift.read_features_from_file('empire.sift')
File "C:\Python27\lib\site-packages\PCV\localdescriptors\sift.py", line 30, in read_features_from_file
f = loadtxt(filename)
File "C:\Python27\lib\site-packages\numpy\lib\npyio.py", line 729, in loadtxt
processed tmp.pgm to empire.sift
fh = iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: 'empire.sift'
The error indicates it doesn't find the sift.exe
. To solve this problem, I bulid a folder .\\utils\\win32vlfeat\\sift.exe
to contains the VLfeat
. It's here. I don't think it's not a good way to solve this problem. Is there a perfect way to solve this problem?
from pcv.
It's a good way to this question, I think。
At 2014-08-12 08:31:59, "Yong Yuan" [email protected] wrote:
Yes, I do. I test it under Windows 7 OS. After I add the full path to the env variable, It throws these error:
Traceback (most recent call last):
File "F:/dropbox/Dropbox/translation/pcv-notebook/ch02/ch02_sift.py", line 14, in
l1, d1= sift.read_features_from_file('empire.sift')
File "C:\Python27\lib\site-packages\PCV\localdescriptors\sift.py", line 30, in read_features_from_file
f= loadtxt(filename)
File "C:\Python27\lib\site-packages\numpy\lib\npyio.py", line 729, in loadtxt
processed tmp.pgm to empire.sift
fh= iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: 'empire.sift'
The error indicates it doesn't find the sift.exe. To solve this problem, I bulid a folder .\utils\win32vlfeat\sift.exe to contains the VLfeat. It's here. I don't think it's not a good way to solve this problem. Is there a perfect way to solve this problem?
—
Reply to this email directly or view it on GitHub.
from pcv.
It works, but not perfect. I hope to find a method which doesn't need to modify the source code sift.py
of library PCV
.
from pcv.
People seem to have problems with the VLFeat executable. I'm going to try to replace that for the next edition. Thanks all.
from pcv.
Great, I can't wait to read it.
from pcv.
@jesolem yes, I would love to read your next edition where you can replace the VLFeat executable by something less platform dependent. Thanks!
from pcv.
Related Issues (20)
- Enable Sourcegraph HOT 1
- Graphcut example not working
- possible error in camera.py
- Python 3 compatibility? HOT 3
- Run SnapSudoku on a smart phone? HOT 1
- Where can we find image files? HOT 3
- Lack of several image files HOT 1
- Small bug in sift.py of PCV-note HOT 2
- imtools.py gives error HOT 3
- Query return error
- Panoramio no longer available
- computer vision with python - sift example error HOT 2
- ValueError: cannot reshape array of size 14 into shape (3)
- ImportError: No module named PIL HOT 1
- Exercise answers
- sift --edge-thresh 10 Error: unknown flag `edge-thresh' HOT 1
- [HELP Needed] OSError: filename.sift not found. HOT 2
- Can use graph cut to multi-label segment?
- IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed HOT 1
- TypeError: a bytes-like object is required, not 'str' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcv.