djsutherland / vlfeat-ctypes Goto Github PK
View Code? Open in Web Editor NEWA ctypes interface to a (very small) subset of vlfeat.
License: BSD 3-Clause "New" or "Revised" License
A ctypes interface to a (very small) subset of vlfeat.
License: BSD 3-Clause "New" or "Revised" License
Shouldn't be hard. Just use six for a few things, make sure to explicitly number positional args to format, etc.
can u give some simple for me ?
it's difficult for use this interfaces.
when i use import vlfeat
use vlfeat.dsift(img)
i get a problem : AttributeError: 'Image' object has no attribute 'dtype' form
Traceback (most recent call last):
File "C:/Users/FireJohnny/Desktop/PHOW/sift.py", line 11, in
f = vlfeat.vl_dsift(img)
File "C:\Python27\lib\site-packages\vlfeat_init_.py", line 13, in vl_dsift
return f(*args, **kwargs)
File "C:\Python27\lib\site-packages\vlfeat\dsift.py", line 121, in vl_dsift
data = as_float_image(data, dtype=np.float32, order=order)
File "C:\Python27\lib\site-packages\vlfeat\utils.py", line 10, in as_float_image
if image.dtype.kind in ('u', 'i'):
AttributeError: 'Image' object has no attribute 'dtype'
how i can fix it
Traceback (most recent call last):
File "C:/Users/FireJohnny/Desktop/PHOW/sift.py", line 22, in
vlfeat.vl_phow(img)
File "C:\Python27\lib\site-packages\vlfeat_init_.py", line 25, in vl_phow
return f(*args, **kwargs)
File "C:\Python27\lib\site-packages\vlfeat\phow.py", line 109, in vl_phow
smoothed = vl_imsmooth(image, sigma)
File "C:\Python27\lib\site-packages\vlfeat\imsmooth.py", line 97, in vl_imsmooth
filter, -W, W, step, flags)
WindowsError: exception: integer divide by zero
I have this error ,i don't know how to fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.