|
Download README.md from WLuLi/AlphaAnything_Data: direct link, hf CLI and curl.
- Browser
- Download file 2.86 kB
-
https://huggingface.co/datasets/WLuLi/AlphaAnything_Data/resolve/main/README.md
- Command line
-
hf download hf://datasets/WLuLi/AlphaAnything_Data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/WLuLi/AlphaAnything_Data/resolve/main/README.md
2.86 kB
metadata
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
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, t2rgba_train-00001-of-00002.tar, t2rgba_train.jsonl |
| PrismLayersPro annotations | 719,968 extraction instructions across 179,992 layers of PrismLayersPro (images reconstructed from upstream Parquet files) | prismlayerspro_annotations.jsonl, prepare_prismlayerspro.py |
Usage
Download the files into data/ in the code repository.
1. Extract T2RGBA training data
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
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 (non-commercial use only). Upstream images from artplus/PrismLayersPro (Apache-2.0) are not redistributed here and must be obtained directly under their original terms. See LICENSE and NOTICE for details.
Please cite our paper when using these datasets.