Skip to content

'Buffer has wrong number of dimensions (expected 2, got 3) #8

Description

@dgtlmoon

I took a gamble and copied the contents of https://github.com/kif/imageAlignment to the test/ directory in this module and ran test_matching.py , I got some error "Buffer has wrong number of dimensions (expected 2, got 3)' in 'feature.SiftAlignment.sift_c' ignored"

(there is no documentation about how to install or where to get the feature module)

/usr/local/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
working on GeForce GTX 960M
working on GeForce GTX 960M
working on GeForce GTX 960M
/tmp/sift_pyocl/build/lib.linux-x86_64-2.7/sift_pyocl/matching_gpu.cl
Exception ValueError: 'Buffer has wrong number of dimensions (expected 2, got 3)' in 'feature.SiftAlignment.sift_c' ignored
[]

C++ Matching took 0.286 ms
OpenCL: 0 match / C++ : 0 match
.
----------------------------------------------------------------------
Ran 1 test in 0.224s

OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions