GPIC-Lite 256
This dataset contains the 9,997,563 training images of GPIC-Lite, converted to 256 x 256 px JPEG files. GPIC-Lite is the first 800 train shards of GPIC (Chandrasegaran et al., 2026). The captions and all other metadata are unchanged.
Changes from GPIC
gpic_to_256.py (in this repository) made these changes to each image:
- Put transparent images (RGBA, LA, or P with transparency) on a white background, then convert all images to RGB.
- Apply the ADM center crop (as in guided-diffusion). While the short side is 512 px or more, halve the image with a box filter. Then resize the short side to 256 px with bicubic resampling and crop the center 256 x 256 px.
- Save the result as JPEG, quality 95, 4:4:4 chroma subsampling, without EXIF or other metadata.
About 0.9% of the GPIC images have a short side of less than 256 px. Step 2 enlarges these images.
The .json files, the keys, the order of the samples, and the shard names are the same as in GPIC.
Files
| Path | Content |
|---|---|
train/gpic_train_00000.tar to train/gpic_train_00799.tar |
800 webdataset shards (389 GiB). Each sample has {key}.json and {key}.jpg. A shard has about 12,500 samples. |
gpic_to_256.py |
The conversion script: python gpic_to_256.py --src <gpic>/train --out <out> --num-shards 800 |
Shards 00000 to 00079 are GPIC-Nano (1M images). All 800 shards are GPIC-Lite (10M images).
The split field of the json files gives only the smallest tier: nano for shards 00000 to 00079 and lite for shards 00080 to 00799.
To use all of GPIC-Lite, do not filter on split.
JSON format
The json files are the GPIC json files without changes:
{
"retrieved_at": str,
"license": str,
"license_url": str,
"attribution": str,
"key": str,
"img_width": int, # width of the original GPIC image, not 256
"img_height": int, # height of the original GPIC image, not 256
"split": [str], # "nano" or "lite"
"caption_type": str, # "tag", "short", "medium" or "long"
"caption": str
}
Download
hf download SaeedRazavi/gpic-lite-256 --repo-type dataset --local-dir <dir>
The GPIC evaluation protocol uses reference statistics of the GPIC test set. They are in the GPIC repository (reference_stats/), not in this repository.
License
The GPIC dataset card uses the MIT license. Each image keeps its own license, in the license, license_url and attribution fields of its json file.
In a sample of 500,119 images, all licenses are CC BY (1.0 to 4.0), CC0, the Public Domain Mark, or "no known copyright restrictions".
CC BY licenses require attribution and an indication of changes. The json files contain the attribution, and the section "Changes from GPIC" lists the changes.
Image removal
The GPIC maintainers review image removal requests. See the GPIC dataset card for the request form.
Citation
If you use this dataset, cite GPIC:
@misc{chandrasegaran2026gpic,
title={GPIC: A Giant Permissive Image Corpus for Visual Generation},
author={Keshigeyan Chandrasegaran and Kyle Sargent and Suchir Agarwal and Michael Jang and Michael Poli and Juan Carlos Niebles and Justin Johnson and Jiajun Wu and Li Fei-Fei},
year={2026},
eprint={2605.30341},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2605.30341},
}
- Downloads last month
- 12,017