-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
685e844
commit d1274be
Showing
6 changed files
with
1,638 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ gcs_mount | |
datacache | ||
*.deb | ||
gcsfuse.yml | ||
*.csv | ||
*.tsv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/bash | ||
|
||
img2dataset --url_list ./datacache/cc12m.csv --input_format "csv"\ | ||
img2dataset --url_list ./cc12m.tsv --input_format "tsv"\ | ||
--url_col "image_url" --caption_col "caption" --output_format arrayrecord\ | ||
--output_folder gs://flaxdiff-datasets-regional/arrayrecord/cc12m --processes_count 64 | ||
--output_folder gs://flaxdiff-datasets-regional/arrayrecord/cc12m --processes_count 64\ | ||
--thread_count 64 --image_size 256\ | ||
--enable_wandb True --disallowed_header_directives '[]' --compute_hash None --max_shard_retry 3 --timeout 60 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
img2dataset --url_list $HOME/research/laion-aesthetics-12m+mscoco-2017.parquet --input_format "parquet"\ | ||
--url_col "url" --caption_col "caption" --output_format arrayrecord\ | ||
--output_folder gs://flaxdiff-datasets-regional/arrayrecord/laion-aesthetics-12m+mscoco-2017 --processes_count 64\ | ||
--thread_count 64 --image_size 256 --min_image_size 100 \ | ||
--enable_wandb True --disallowed_header_directives '[]' --compute_hash None --max_shard_retry 3 --timeout 60 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters