Birchlabs commited on
Commit
aa207b5
1 Parent(s): 72486f1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -10,9 +10,9 @@ from webdataset import WebDataset
10
  Sample = TypedDict('Sample', {
11
  '__key__': str,
12
  '__url__': str,
13
- 'cls.txt': NotRequired[bytes],
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')