File size: 2,104 Bytes
5881eb7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
pretty_name: 32x32 Pixel Icon Dataset (Z-Image-Turbo)
tags:
- image
- pixel-art
- synthetic
- diffusion
task_categories:
- unconditional-image-generation
- text-to-image
size_categories:
- 1K<n<10K
---

# 32x32 Pixel Icon Dataset

1059 synthetic 32x32 RGB icon images generated with
[Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo) (zimage-turbo),
built for training a from-scratch diffusion pipeline
(normalize -> add noise -> train -> predict noise -> sample).

> **License**: TODO -- set before publishing. Check the license of the
> generating model (Tongyi-MAI/Z-Image-Turbo) and this repo's own terms for any
> restrictions that apply to the generated images before choosing a license here.

## Generation

Images were rendered at 512px and downsampled to
32px with a progressive Lanczos pipeline (halving each
step, never more than 2x per call) followed by a light unsharp mask
(sharpen=0.6) to recover edge definition.

Quality filtering:
- **degenerate filter**: drops flat/blank/over- or under-exposed outputs
  (min_colors=10, min_lum_std=10)
- **perceptual dedup**: dhash (dhash_8x9, distance<4)
  within each (subject, style) group removes near-duplicates

## Stats

- prompt combos: 232
- attempted: 1160
- kept: 1059
- filtered (degenerate): 1
- filtered (duplicate): 100
- generation failures: 0

Categories:

- **animal**: 12 subjects
- **vehicle**: 8 subjects
- **object**: 10 subjects
- **food**: 7 subjects
- **nature**: 8 subjects
- **building**: 5 subjects
- **character**: 8 subjects

## Structure

Standard HuggingFace `imagefolder` layout -- images and `metadata.jsonl` share
this directory, keyed by `file_name`:

```
<file_name>.png
metadata.jsonl   # file_name, prompt, category, subject, style, seed, gen_size, dhash, metrics
manifest.json    # dataset-level generation params (not read by the loader)
```

Load with:

```python
from datasets import load_dataset
ds = load_dataset("imagefolder", data_dir=".")
```

Each `metadata.jsonl` record also carries per-image `metrics` (colors,
luminance std, edge density) captured at generation time.