Update README.md
Browse files
README.md
CHANGED
@@ -16,12 +16,11 @@ from webdataset import WebDataset
|
|
16 |
Sample = TypedDict('Sample', {
|
17 |
'__key__': str,
|
18 |
'__url__': str,
|
19 |
-
'cls.txt': bytes, # UTF-8 encoded class id from 0 to 9 inclusive
|
20 |
'img.png': bytes, # PIL image, serialized. 1024*1024px
|
21 |
'latent.pth': bytes, # FloatTensor, serialized. 128*128 latents
|
22 |
})
|
23 |
|
24 |
-
it: Iterator[Sample] = WebDataset('train/{00000..
|
25 |
|
26 |
for sample in it:
|
27 |
pass
|
|
|
16 |
Sample = TypedDict('Sample', {
|
17 |
'__key__': str,
|
18 |
'__url__': str,
|
|
|
19 |
'img.png': bytes, # PIL image, serialized. 1024*1024px
|
20 |
'latent.pth': bytes, # FloatTensor, serialized. 128*128 latents
|
21 |
})
|
22 |
|
23 |
+
it: Iterator[Sample] = WebDataset('train/{00000..00035}.tar')
|
24 |
|
25 |
for sample in it:
|
26 |
pass
|