Closed Shamik-07 closed 1 year ago
chardet is not directly imported by img2dataset https://github.com/search?q=repo%3Arom1504%2Fimg2dataset%20chardet&type=code
which dep included it ?
chardet is not directly imported by img2dataset https://github.com/search?q=repo%3Arom1504%2Fimg2dataset%20chardet&type=code
which dep included it ?
I don't know which dep needed it however, are you being able to recreate the missing chardet import error by running the command that i highlighted ?
no I never saw this error. Can you share the full stack trace ?
i will try and recreate this error.
ok, i can't recreate the error and it's running without any problem. apologies for creating this PR. thank you for looking into it.
As per the README.md, i installed img2daataset by
pip install img2dataset
, which installv1.41.0
and tried to download the laion-high-resolution dataset with the following command from the examples:I got a missing import error for chardet.
Resolution, to include the chardet to the requirements.txt.