Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using verbose in dsift #70

Open
nicolasfeyer opened this issue Oct 4, 2022 · 0 comments
Open

Error when using verbose in dsift #70

nicolasfeyer opened this issue Oct 4, 2022 · 0 comments

Comments

@nicolasfeyer
Copy link

When I call dsift using verbose=True, the following exception is raised.
I called dsift the following way :

dsift(image,
         step=27,
         norm=True, 
         fast=True,
         size=3,
         float_descriptors=True,
         window_size=13,
         verbose=True
         )

The image size is (2035, 3311)

Traceback (most recent call last):
  File "/home/nicolas/Code/main.py", line 31, in <module>
    crps.generate_corpus()
  File "/home/nicolas/Code/corpus.py", line 340, in generate_corpus
    self.get_sift_descriptors(to_pickle=True)
  File "/home/nicolas/Code/corpus.py", line 103, in get_sift_descriptors
    kps_, des_ = dsift(gray.T,
  File "/home/nicolas/miniconda3/envs/tm/lib/python3.10/site-packages/cyvlfeat/sift/dsift.py", line 179, in dsift
    frames, descriptors = cy_dsift(image, step, size, bounds, window_size,
  File "cyvlfeat/sift/cysift.pyx", line 20, in cyvlfeat.sift.cysift.cy_dsift
  File "cyvlfeat/sift/cysift.pyx", line 75, in cyvlfeat.sift.cysift.cy_dsift
TypeError: not enough arguments for format string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant