Closed roi2405 closed 1 year ago
Hi @roi2405 it seems you are mixing v0 with v1 code.
Fastdup run should be run with v0 code.
Namely run withfastdup.run(input_dir='...', work_dir='...', turi_param='ccthreshold=0.9')
. We will fix the code to support v1 as well.
Fixed now, will be released in 0.927
What happened?
After using
fastdup.search
, usingfastdup.create_duplicates_gallery
raised the error specified in the title.What did you expect to see?
An html file that contains the duplication gallery.
What version of fastdup were you runnning on?
0.925
What version of Python were you running on?
Python 3.10
Operating System
google colab
Reproduction steps
Search an image in an image gallery. Create a duplicates gallery with the dataframe you get from the search function.
Relevant log output
Attach a screenshot [Optional]
The relevant code is:
fastdup.init_search(5, work_dir=work_dir, license='XXXXXX')
df = fastdup.search(image_to_search, None, verbose=True)
fastdup.create_duplicates_gallery(df, ".", input_dir=input_dir, work_dir=work_dir)
The error occurs after executing
fastdup.create_duplicates_gallery(df, ".", input_dir=input_dir, work_dir=work_dir)
. The error message is specified in the relevant log output above.Contact Details [Optional]
roi2405@gmail.com