metadata
license: apache-2.0
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
dataset_info:
features:
- name: id
dtype: string
- name: caption
dtype: string
- name: image
dtype: image
splits:
- name: train
num_bytes: 271106504039.8
num_examples: 3016640
download_size: 270727124231
dataset_size: 271106504039.8
task_categories:
- text-to-image
- image-to-image
language:
- en
pretty_name: CC3M
size_categories:
- 1M<n<10M
This repo is CC3M's unofficial huggingface repo. However, for the large picture, we process it as follow and then upload:
if pil_image.width > 1024 or pil_image.height > 1024:
pil_image = pil_image.resize((1024, 1024), Image.BICUBIC)