ppbrown commited on
Commit
cebbf0c
·
verified ·
1 Parent(s): c325242

Upload crawl.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. crawl.sh +6 -0
crawl.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+
2
+
3
+ # you need to first pip install img2dataset
4
+ # Edit the args as appropriate for you.
5
+
6
+ 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