File size: 2,860 Bytes
8bc48e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
pretty_name: AlphaAnything Training Datasets
license: cc-by-nc-4.0
language:
- en
task_categories:
- text-to-image
- image-to-image
size_categories:
- 100K<n<1M
tags:
- image
- text
- rgba
- alphaanything
source_datasets:
- artplus/PrismLayersPro
configs:
- config_name: t2rgba_train
  default: true
  data_files:
  - split: train
    path: train/t2rgba_train.jsonl
- config_name: prismlayerspro_annotations
  data_files:
  - split: train
    path: train/prismlayerspro_annotations.jsonl
---

# AlphaAnything Training Datasets

[Paper](https://arxiv.org/abs/2610.32413) · [Project](https://wluli.github.io/AlphaAnything/) · [Code](https://github.com/WLuLi/AlphaAnything)

Training datasets and annotations for **AlphaAnything: Extending Pretrained RGB Generators to RGBA**.

## Contents (`train/`)

| Subset | Description | Files |
| --- | --- | --- |
| T2RGBA training | 8,963 RGBA PNG images (1024×1024) with multi-granularity captions across 9 categories | [t2rgba_train-00000-of-00002.tar](train/t2rgba_train-00000-of-00002.tar), [t2rgba_train-00001-of-00002.tar](train/t2rgba_train-00001-of-00002.tar), [t2rgba_train.jsonl](train/t2rgba_train.jsonl) |
| PrismLayersPro annotations | 719,968 extraction instructions across 179,992 layers of [PrismLayersPro](https://huggingface.co/datasets/artplus/PrismLayersPro) (images reconstructed from upstream Parquet files) | [prismlayerspro_annotations.jsonl](train/prismlayerspro_annotations.jsonl), [prepare_prismlayerspro.py](prepare_prismlayerspro.py) |

## Usage

Download the files into `data/` in the [code repository](https://github.com/WLuLi/AlphaAnything).

### 1. Extract T2RGBA training data

```bash
tar -xf data/train/t2rgba_train-00000-of-00002.tar -C data/train
tar -xf data/train/t2rgba_train-00001-of-00002.tar -C data/train
```

This creates `data/train/t2rgba_train/train.csv` and `data/train/t2rgba_train/images/000000.png` ... `008962.png`.

### 2. Reconstruct PrismLayersPro training images

```bash
python data/prepare_prismlayerspro.py \
  --annotations data/train/prismlayerspro_annotations.jsonl \
  --prism-dir data/train/PrismLayersPro_raw \
  --output-dir data/train/prismlayerspro \
  --download \
  --num-workers 4
```

This writes extracted source RGB images, 1024×1024 target RGBA layers, and `data/train/prismlayerspro/train.jsonl`.

## License

All original data, images, captions, and annotations in this repository are licensed under [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) (non-commercial use only). Upstream images from [artplus/PrismLayersPro](https://huggingface.co/datasets/artplus/PrismLayersPro) (Apache-2.0) are not redistributed here and must be obtained directly under their original terms. See [LICENSE](LICENSE) and [NOTICE](NOTICE) for details.

Please cite [our paper](https://arxiv.org/abs/2610.32413) when using these datasets.