File size: 699 Bytes
b60e0b4
 
 
 
 
 
 
 
 
8b176e2
 
 
 
b60e0b4
 
 
 
 
d37de81
 
 
 
 
 
 
 
b60e0b4
d37de81
 
 
 
 
 
 
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
---
dataset_info:
  features:
  - name: id
    dtype: string
  - name: image
    dtype: image
  splits:
  - name: train
    num_bytes: 173887782106.8
    num_examples: 3016640
  download_size: 171460544201
  dataset_size: 173887782106.8
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
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)
```