visual-layer / fastdup

fastdup is a powerful free tool designed to rapidly extract valuable insights from your image & video datasets. Assisting you to increase your dataset images & labels quality and reduce your data operations costs at an unparalleled scale.
Other
1.56k stars 76 forks source link

[Bug]: init_search does not work when k=1 #170

Closed dbickson closed 1 year ago

dbickson commented 1 year ago

What happened?

An assertion is fired that k should be >=2

What did you expect to see?

It is allowed to search for the single top similar iamge

What version of fastdup were you runnning on?

0.922

What version of Python were you running on?

Python 3.8

Operating System

Ubuntu 20

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

dbickson commented 1 year ago

Changed documentation and tests to make sure k>=2