diff --git a/dataset_examples/laion-high-resolution.md b/dataset_examples/laion-high-resolution.md index e6613cd..e77373e 100644 --- a/dataset_examples/laion-high-resolution.md +++ b/dataset_examples/laion-high-resolution.md @@ -11,8 +11,12 @@ A good use case is to train a superresolution model. Download from https://huggingface.co/datasets/laion/laion-high-resolution ``` -mkdir laion-high-resolution && cd laion-high-resolution -for i in {00000..00127}; do wget https://huggingface.co/datasets/laion/laion-high-resolution/resolve/main/part-$i-5d6701c4-b238-4c0a-84e4-fe8e9daea963-c000.snappy.parquet; done +mkdir -p laion-high-resolution && cd laion-high-resolution + +for i in {0..127}; do + wget "https://huggingface.co/datasets/laion/laion-high-resolution/resolve/main/part-$(printf "%05d" $i)-5d6701c4-b238-4c0a-84e4-fe8e9daea963-c000.snappy.parquet" +done + cd .. ```