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

[Bug]: fastdup overwrites similarity.csv when calling run_mode=4 or search #252

Open
Tompil3r opened this issue Aug 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Tompil3r
Copy link
Collaborator

What happened?

When calling run(run_mode=4) or search - which both generate new similarities, fastdup overwrites the similarity.csv in the work_dir. Meaning in order to keep the similarities a copy of the file needs to be made each time.

What did you expect to see?

No response

What version of fastdup were you runnning on?

1.30

What version of Python were you running on?

Python 3.10

Operating System

Ubuntu 20

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

@Tompil3r Tompil3r added the bug Something isn't working label Aug 13, 2023
@dnth
Copy link
Collaborator

dnth commented Sep 6, 2023

I find that this is the line that overwrites the similarity.csv file.

ret = fun(img_arr, int(elems), int(verbose), bytes(filename, 'utf-8'))

@dbickson could you please check on the C side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants