text stringlengths 0 78 |
|---|
MIT License |
Copyright (c) 2021 OpenAI |
Permission is hereby granted, free of charge, to any person obtaining a copy |
of this software and associated documentation files (the "Software"), to deal |
in the Software without restriction, including without limitation the rights |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
copies of the Software, and to permit persons to whom the Software is |
furnished to do so, subject to the following conditions: |
The above copyright notice and this permission notice shall be included in all |
copies or substantial portions of the Software. |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
SOFTWARE. |
tensorflow-gpu>=2.0 |
scipy |
requests |
tqdm |
Training images and evaluation assets
Upload complete. File sizes and Hub SHA-256 hashes have been verified. See release_manifest.json.
Download all files, run sha256sum -c SHA256SUMS, then python extract_images.py.
Decompress t2i/square512/InternData/data_info.json.gz to restore the original caption metadata.
This collection preserves the actual images used for training. Image bytes are archived without resizing, recompression, or quantization. It is not a collection of latent embeddings or channel mappings.
Contents
t2i/square512/: the prepared Fine-T2I subset used for PixArt-Sigma, with 1,538,252 RGB JPEG images at 512 by 512 and their complete enhanced prompts.t2i/i1_subset/: the fixed one-million-image subset used for i1-1B. Its actual images are included in the square512 archive. The original i1 preparation losslessly encoded the same decoded pixels as PNG in TFRecords. The subset indices and selection file identify those images exactly.classification_data/train/: ImageNet ILSVRC 2012 training images, preserving the original synset directories and filenames. The directory name is organizational only; it does not change the data's origin or access terms.evaluation/: the exact ADM reference NPZ, Inception graph, and evaluation script used for the ImageNet metrics. The reference NPZ includes precomputed statistics and 10,000 reference images; it is not the ImageNet training set.
ImageNet evaluation
Install evaluation/requirements.txt, then run from that directory:
cd evaluation
python evaluator.py reference_256.npz /path/to/generated_samples.npz --skip-pr
The generated sample NPZ is produced by the model being evaluated. For the
reported protocol, it contains 50,000 RGB uint8 images at 256 by 256 under
arr_0. Remove --skip-pr to additionally calculate precision and recall.
The provided Inception graph must be in the current working directory.
Licenses and access
Fine-T2I source: https://huggingface.co/datasets/ma-xu/fine-t2i (Apache-2.0 as declared by its authors). The prepared images retain that source and license. Preparation resizes non-512 source images to 512 and retains full enhanced prompts; this upload makes no further image changes.
ImageNet source: https://www.image-net.org/download and the ILSVRC object localization release. ImageNet remains subject to its terms of access, including non-commercial research/education and agreement to those terms before sharing access with research associates or colleagues. The repository's access gate does not grant rights beyond the source terms.
ADM evaluation source: https://github.com/openai/guided-diffusion/tree/main/evaluations
Code license: evaluation/LICENSE-guided-diffusion.txt (MIT).
Reference images remain subject to the ImageNet terms. Original asset URLs and
SHA-256 checksums are recorded in evaluation/provenance.json.
- Downloads last month
- 1,119