Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[https://github.com/liaopeiyuan/artbench](ArtBench) samples encoded to SDXL latents via [Ollin VAE](https://huggingface.co/madebyollin/sdxl-vae-fp16-fix).
|
2 |
+
|
3 |
+
Dataset created using [this script](https://github.com/Birch-san/sdxl-diffusion-decoder/blob/main/script/make_sdxl_latent_dataset.py).
|
4 |
+
|
5 |
+
Schema/usage:
|
6 |
+
|
7 |
+
```python
|
8 |
+
from typing import TypedDict, Iterator
|
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')
|
19 |
+
|
20 |
+
for sample in it:
|
21 |
+
pass
|
22 |
+
```
|
23 |
+
|
24 |
+
The data sources of ArtBench-10 is released under a Fair Use license, as requested by WikiArt, Ukiyo-e.org database and The Surrealism Website.
|
25 |
+
For more information, see https://www.wikiart.org/en/terms-of-use, https://ukiyo-e.org/about and https://surrealism.website/
|
26 |
+
|
27 |
+
train: 50000 samples
|
28 |
+
test: 10000 samples
|
29 |
+
|
30 |
+
```
|
31 |
+
test/avg/val.pt:
|
32 |
+
[-0.11362826824188232, -0.7059057950973511, 0.4819808006286621, 2.2327630519866943]
|
33 |
+
|
34 |
+
test/avg/sq.pt:
|
35 |
+
[52.59075927734375, 30.115631103515625, 44.977020263671875, 30.228885650634766]
|
36 |
+
|
37 |
+
train/avg/val.pt:
|
38 |
+
[-0.1536690890789032, -0.7142514586448669, 0.4706766605377197, 2.24863600730896]
|
39 |
+
|
40 |
+
train/avg/sq.pt:
|
41 |
+
[51.99677276611328, 30.184646606445312, 44.909732818603516, 30.234216690063477]
|
42 |
+
```
|