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

Using ijson to avoid loading full json in memory. #356

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SamimAB
Copy link

@SamimAB SamimAB commented Sep 20, 2023

Using ijson to load item by item, so it is possible to load dataset using dataset/convert_cc_sbu.py and dataset/convert_laion.py on machines with low RAM.

Using ijson to load item by item, so it is possible to load dataset
using dataset/convert_cc_sbu.py and dataset/convert_laion.py on machines
with low RAM.
Added ijson==3.2.3 in environment.yml
@lzhhha
Copy link

lzhhha commented Nov 27, 2023

pyarrow.lib.ArrowInvalid: CSV parse error: Expected 2 columns, got 8: a colorful arrow with several lights http://themintlist.com/media/catalog/product/cache/1/small_ ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants