Adding num_proc for the download & processing.
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ To load the medium- and high-resolution images of the dataset, you'll need to in
|
|
46 |
# Recommended use, JXL at high-quality.
|
47 |
from jxlpy import JXLImagePlugin
|
48 |
from datasets import load_dataset
|
49 |
-
d = load_dataset('texturedesign/td01_natural-ground-textures', 'JXL@4K')
|
50 |
|
51 |
print(len(d['train']), len(d['test']))
|
52 |
```
|
@@ -56,7 +56,7 @@ The lowest-resolution images are available as PNG with a regular installation of
|
|
56 |
```python
|
57 |
# Alternative use, PNG at low-quality.
|
58 |
from datasets import load_dataset
|
59 |
-
d = load_dataset('texturedesign/td01_natural-ground-textures', 'PNG@1K')
|
60 |
|
61 |
# EXAMPLE: Discard all other sets except Set #1.
|
62 |
dataset = dataset.filter(lambda s: s['set'] == 1)
|
|
|
46 |
# Recommended use, JXL at high-quality.
|
47 |
from jxlpy import JXLImagePlugin
|
48 |
from datasets import load_dataset
|
49 |
+
d = load_dataset('texturedesign/td01_natural-ground-textures', 'JXL@4K', num_proc=4)
|
50 |
|
51 |
print(len(d['train']), len(d['test']))
|
52 |
```
|
|
|
56 |
```python
|
57 |
# Alternative use, PNG at low-quality.
|
58 |
from datasets import load_dataset
|
59 |
+
d = load_dataset('texturedesign/td01_natural-ground-textures', 'PNG@1K', num_proc=4)
|
60 |
|
61 |
# EXAMPLE: Discard all other sets except Set #1.
|
62 |
dataset = dataset.filter(lambda s: s['set'] == 1)
|