Update README.md
Browse files
README.md
CHANGED
@@ -10,9 +10,9 @@ from webdataset import WebDataset
|
|
10 |
Sample = TypedDict('Sample', {
|
11 |
'__key__': str,
|
12 |
'__url__': str,
|
13 |
-
'cls.txt':
|
14 |
-
'img.png': bytes,
|
15 |
-
'latent.pth': bytes,
|
16 |
})
|
17 |
|
18 |
it: Iterator[Sample] = WebDataset('train/{00000..00004}.tar')
|
|
|
10 |
Sample = TypedDict('Sample', {
|
11 |
'__key__': str,
|
12 |
'__url__': str,
|
13 |
+
'cls.txt': bytes, # UTF-8 encoded class id from 0 to 9 inclusive
|
14 |
+
'img.png': bytes, # PIL image, serialized
|
15 |
+
'latent.pth': bytes, # FloatTensor, serialized
|
16 |
})
|
17 |
|
18 |
it: Iterator[Sample] = WebDataset('train/{00000..00004}.tar')
|