ppbrown's picture
Upload crawl.sh with huggingface_hub
cebbf0c verified
raw
history blame contribute delete
425 Bytes
# you need to first pip install img2dataset
# Edit the args as appropriate for you.
img2dataset --url_list laion2B-en-aesthetic-square.jsonl.gz --output_folder LAION_2B_aesthetic --input_format "jsonl.gz" --encode_format png --encode_quality 9 --url_col "URL" --caption_col "TEXT" --output_format files --skip_reencode true --processes_count 6 --thread_count 6 --enable_wandb False --resize_mode no