File size: 756 Bytes
cec64bf |
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 |
---
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:
```python
if pil_image.width > 1024 or pil_image.height > 1024:
pil_image = pil_image.resize((1024, 1024), Image.BICUBIC)
```
|