Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -149,8 +149,8 @@ Training data for **pixl**, a small text-to-pixel-art model trained from scratch
|
|
| 149 |
| Config | Rows | What it holds |
|
| 150 |
|---|---|---|
|
| 151 |
| `photos` | ~84k | Photo pairs: a 256×256 photo (`input`), a 32×32, 24-colour version of it (`target`), and a caption (`query`) |
|
| 152 |
-
| `sprites` | ~
|
| 153 |
-
| `scenes` |
|
| 154 |
|
| 155 |
## Load
|
| 156 |
|
|
@@ -169,8 +169,8 @@ train = load_dataset("ocdbytes/pixl-data", "photos", split="train") # one split
|
|
| 169 |
| Config | train | test | Kept together in one split |
|
| 170 |
|---|---|---|---|
|
| 171 |
| `photos` | ~82.7k | ~1.6k (2% of source photos) | All crops of one source photo (same `sha256`) |
|
| 172 |
-
| `sprites` | ~
|
| 173 |
-
| `scenes` |
|
| 174 |
|
| 175 |
Near-copies never appear in both splits, so test scores are not inflated by images the model has already seen. A group is in `test` when the first 8 hex digits of the SHA-256 of its key, as a fraction of 16⁸, are below 0.02 (photos) or 0.1 (sprites). The split is fixed: new data never moves existing rows.
|
| 176 |
|
|
@@ -210,6 +210,10 @@ Every photo was changed:
|
|
| 210 |
|
| 211 |
Sprites from CC0 packs by [Kenney](https://kenney.nl/assets) (1-Bit Pack, Cursor Pixel Pack, Monochrome Pirates, Pico-8 City, Pixel Shmup, Pixel Vehicle Pack, Tiny Battle, Tiny Dungeon, Tiny Farm, Tiny Town), [ansimuz](https://ansimuz.itch.io/sunny-land-pixel-game-art) (Sunny Land), [GrafxKid](https://grafxkid.itch.io/mini-pixel-pack-3) (Mini Pixel Pack 3), [Buch](https://opengameart.org/content/a-platformer-in-the-forest) (A Platformer in the Forest), the Dungeon Crawl Stone Soup artists ([Dungeon Crawl 32x32 tiles](https://opengameart.org/content/dungeon-crawl-32x32-tiles-supplemental)), [Idylwild](https://opengameart.org/content/idylwilds-inventory) (Idylwild's Inventory), [Scrittl](https://opengameart.org/content/spaceship-set-32x32px) (Spaceship set 32x32px), [Jull](https://opengameart.org/node/50777) (Animated spaceships) and [wender](https://opengameart.org/node/176168) (Sports cars pixelart sprites). `label_source` says where each label comes from: checked by eye (`claude-visual`), a file name (`filename`) or a sprite-sheet atlas (`atlas`).
|
| 212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
| Column | Meaning |
|
| 214 |
|---|---|
|
| 215 |
| `path` | File path in the original pack layout |
|
|
@@ -225,7 +229,7 @@ Synthetic 32×32 scenes, each made from one sprite style: a background tile repe
|
|
| 225 |
|
| 226 |
| Kind (`kind`) | Split | Scenes | Objects from |
|
| 227 |
|---|---|---|---|
|
| 228 |
-
| `train` | train |
|
| 229 |
| `new sprites` | test | 1,000 | Test-split sprites only |
|
| 230 |
| `new pair` | test | 1,000 | Train-split sprites in label pairs that never appear together in train scenes |
|
| 231 |
|
|
@@ -242,7 +246,7 @@ Synthetic 32×32 scenes, each made from one sprite style: a background tile repe
|
|
| 242 |
|
| 243 |
Every row has its own licence in `license` (and `license_url` for photos):
|
| 244 |
|
| 245 |
-
- **Sprites:** CC0 1.0.
|
| 246 |
- **Scenes:** CC0 1.0, as they are made only from the sprites.
|
| 247 |
- **Photos:** CC0, public domain, or CC BY 1.0–4.0. All Open Images photos are listed as CC BY 2.0.
|
| 248 |
- **Open Images annotations** (the boxes and labels behind the crops and captions): CC BY 4.0, by Google.
|
|
|
|
| 149 |
| Config | Rows | What it holds |
|
| 150 |
|---|---|---|
|
| 151 |
| `photos` | ~84k | Photo pairs: a 256×256 photo (`input`), a 32×32, 24-colour version of it (`target`), and a caption (`query`) |
|
| 152 |
+
| `sprites` | ~11.3k | Game sprites and icons (`image`) with a short label (`label`) |
|
| 153 |
+
| `scenes` | 102k | 32×32 scenes built from the sprites (`image`), with a caption written from the placement (`caption`) |
|
| 154 |
|
| 155 |
## Load
|
| 156 |
|
|
|
|
| 169 |
| Config | train | test | Kept together in one split |
|
| 170 |
|---|---|---|---|
|
| 171 |
| `photos` | ~82.7k | ~1.6k (2% of source photos) | All crops of one source photo (same `sha256`) |
|
| 172 |
+
| `sprites` | ~10.2k | ~1.1k (10% of groups) | The colour variants of one tile, the frames of one animation, and the numbered and old/new versions of one Dungeon Crawl sprite |
|
| 173 |
+
| `scenes` | 100,000 | 2,000 | Set by the generator: test scenes use test sprites, or object pairs never seen in train scenes |
|
| 174 |
|
| 175 |
Near-copies never appear in both splits, so test scores are not inflated by images the model has already seen. A group is in `test` when the first 8 hex digits of the SHA-256 of its key, as a fraction of 16⁸, are below 0.02 (photos) or 0.1 (sprites). The split is fixed: new data never moves existing rows.
|
| 176 |
|
|
|
|
| 210 |
|
| 211 |
Sprites from CC0 packs by [Kenney](https://kenney.nl/assets) (1-Bit Pack, Cursor Pixel Pack, Monochrome Pirates, Pico-8 City, Pixel Shmup, Pixel Vehicle Pack, Tiny Battle, Tiny Dungeon, Tiny Farm, Tiny Town), [ansimuz](https://ansimuz.itch.io/sunny-land-pixel-game-art) (Sunny Land), [GrafxKid](https://grafxkid.itch.io/mini-pixel-pack-3) (Mini Pixel Pack 3), [Buch](https://opengameart.org/content/a-platformer-in-the-forest) (A Platformer in the Forest), the Dungeon Crawl Stone Soup artists ([Dungeon Crawl 32x32 tiles](https://opengameart.org/content/dungeon-crawl-32x32-tiles-supplemental)), [Idylwild](https://opengameart.org/content/idylwilds-inventory) (Idylwild's Inventory), [Scrittl](https://opengameart.org/content/spaceship-set-32x32px) (Spaceship set 32x32px), [Jull](https://opengameart.org/node/50777) (Animated spaceships) and [wender](https://opengameart.org/node/176168) (Sports cars pixelart sprites). `label_source` says where each label comes from: checked by eye (`claude-visual`), a file name (`filename`) or a sprite-sheet atlas (`atlas`).
|
| 212 |
|
| 213 |
+
Icons by the [game-icons.net](https://game-icons.net) contributors (the row's `creator`, e.g. Lorc or Delapouite), available on https://game-icons.net under CC BY 3.0, rendered as white silhouettes 30×30 pixels in size on a 32×32 transparent canvas. Each row's `source_url` is the icon's page. Icons with abstract names, or about gore, drugs, self-harm or nudity, were left out.
|
| 214 |
+
|
| 215 |
+
Monochrome sprites (the 1-Bit Pack's white tiles, the Cursor Pixel Pack, Monochrome Pirates and the icons) have labels starting with "monochrome", without the colour words of their coloured versions, so a caption tells colour and monochrome apart. The 1-Bit Pack's copies of objects on a dark square are left out; its ground tiles keep theirs.
|
| 216 |
+
|
| 217 |
| Column | Meaning |
|
| 218 |
|---|---|
|
| 219 |
| `path` | File path in the original pack layout |
|
|
|
|
| 229 |
|
| 230 |
| Kind (`kind`) | Split | Scenes | Objects from |
|
| 231 |
|---|---|---|---|
|
| 232 |
+
| `train` | train | 100,000 | Train-split sprites |
|
| 233 |
| `new sprites` | test | 1,000 | Test-split sprites only |
|
| 234 |
| `new pair` | test | 1,000 | Train-split sprites in label pairs that never appear together in train scenes |
|
| 235 |
|
|
|
|
| 246 |
|
| 247 |
Every row has its own licence in `license` (and `license_url` for photos):
|
| 248 |
|
| 249 |
+
- **Sprites:** CC0 1.0, except the game-icons.net icons: CC BY 3.0 (credit the `creator`; see the sprites section).
|
| 250 |
- **Scenes:** CC0 1.0, as they are made only from the sprites.
|
| 251 |
- **Photos:** CC0, public domain, or CC BY 1.0–4.0. All Open Images photos are listed as CC BY 2.0.
|
| 252 |
- **Open Images annotations** (the boxes and labels behind the crops and captions): CC BY 4.0, by Google.
|