alexjc commited on
Commit
446858b
1 Parent(s): f7d8eb0

Adding num_proc for the download & processing.

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