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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: bad images warning is gibberish

Tompil3r opened this issue · comments

What happened?

When running on data with bad images the warning is gibberish:

files = [
    'pets/oxford-iiit-pet/images/Abyssinian_34.jpg',
    'pets/oxford-iiit-pet/images/Egyptian_Mau_139.jpg'
]
fastdup.run(input_dir=files, work_dir=work_dir, turi_param='store_int=1')
FastDup Software, (C) copyright 2022 Dr. Amir Alush and Dr. Danny Bickson.
2024-05-05 12:58:08 [INFO] Going to loop over dir wd3/files.txt
2024-05-05 12:58:08 [INFO] Found total 2 images to run on, 2 train, 0 test, name list 2, counter 2 
2024-05-05 12:58:08 [WARNING] Failed to read image ������������������������������������������������������������������g
2024-05-05 12:58:08 [WARNING] Failed to read image ������������������������������������������������������������������������
2024-05-05 12:58:09 [INFO] Found total 2 images to run on
Finished histogram 0.009
Finished bucket sort 0.081
2024-05-05 12:58:09 [INFO] 0) Finished write_index() NN model
2024-05-05 12:58:09 [INFO] Stored nn model index file wd3/nnf.index

Abyssinian_34
Egyptian_Mau_139

What did you expect to see?

name of the bad images printed normally

What version of fastdup were you runnning on?

1.122

What version of Python were you running on?

Python 3.9

Operating System

Ubuntu 20

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

I found the issue it will be fixed on 1.123 it was %ls instead of %s due to windows