shunk031 commited on
Commit
8762b7a
·
verified ·
1 Parent(s): 1a36e6a

Update CGLDataset dataset card

Browse files
Files changed (1) hide show
  1. README.md +54 -139
README.md CHANGED
@@ -1,25 +1,45 @@
1
  ---
2
  annotations_creators:
3
- - crowdsourced
4
  language:
5
- - zh
6
  language_creators:
7
- - found
8
  license:
9
- - cc-by-nc-sa-4.0
10
  multilinguality:
11
- - monolingual
12
  pretty_name: CGL-Dataset
13
- size_categories: []
 
14
  source_datasets:
15
- - original
16
  tags:
17
- - graphic-design
18
- - layout-generation
19
- - poster-generation
20
  task_categories:
21
- - other
22
  task_ids: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  dataset_info:
24
  - config_name: default
25
  features:
@@ -120,168 +140,66 @@ dataset_info:
120
  num_examples: 1000
121
  download_size: 37543869068
122
  dataset_size: 37707823779.125
123
- configs:
124
- - config_name: default
125
- data_files:
126
- - split: train
127
- path: data/train-*
128
- - split: validation
129
- path: data/validation-*
130
- - split: test
131
- path: data/test-*
132
- - config_name: ralf-style
133
- data_files:
134
- - split: train
135
- path: ralf-style/train-*
136
- - split: validation
137
- path: ralf-style/validation-*
138
- - split: test
139
- path: ralf-style/test-*
140
- - split: no_annotation
141
- path: ralf-style/no_annotation-*
142
  ---
143
 
144
  # Dataset Card for CGL-Dataset
145
 
146
-
147
- ## Table of Contents
148
- - [Dataset Card Creation Guide](#dataset-card-creation-guide)
149
- - [Table of Contents](#table-of-contents)
150
- - [Dataset Description](#dataset-description)
151
- - [Dataset Summary](#dataset-summary)
152
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
153
- - [Languages](#languages)
154
- - [Dataset Structure](#dataset-structure)
155
- - [Data Instances](#data-instances)
156
- - [Data Fields](#data-fields)
157
- - [Data Splits](#data-splits)
158
- - [Dataset Creation](#dataset-creation)
159
- - [Curation Rationale](#curation-rationale)
160
- - [Source Data](#source-data)
161
- - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
162
- - [Who are the source language producers?](#who-are-the-source-language-producers)
163
- - [Annotations](#annotations)
164
- - [Annotation process](#annotation-process)
165
- - [Who are the annotators?](#who-are-the-annotators)
166
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
167
- - [Considerations for Using the Data](#considerations-for-using-the-data)
168
- - [Social Impact of Dataset](#social-impact-of-dataset)
169
- - [Discussion of Biases](#discussion-of-biases)
170
- - [Other Known Limitations](#other-known-limitations)
171
- - [Additional Information](#additional-information)
172
- - [Dataset Curators](#dataset-curators)
173
- - [Licensing Information](#licensing-information)
174
- - [Citation Information](#citation-information)
175
- - [Contributions](#contributions)
176
 
177
  ## Dataset Description
178
 
179
  - **Homepage:** https://github.com/minzhouGithub/CGL-GAN
180
  - **Repository:** https://github.com/creative-graphic-design/huggingface-datasets/tree/main/datasets/CGLDataset
181
  - **Hugging Face Dataset:** https://huggingface.co/datasets/creative-graphic-design/CGL-Dataset
182
- - **Paper (Preprint):** https://arxiv.org/abs/2205.00303
183
- - **Paper (IJCAI2022):** https://www.ijcai.org/proceedings/2022/692
184
 
185
  ### Dataset Summary
186
 
187
- The CGL-Dataset is a dataset used for the task of automatic graphic layout design for advertising posters. It contains 61,548 samples and is provided by Alibaba Group.
188
 
189
  ### Supported Tasks and Leaderboards
190
 
191
- The task is to generate high-quality graphic layouts for advertising posters based on clean product images and their visual contents. The training set and validation set are collections of 60,548 e-commerce advertising posters, with manual annotations of the categories and positions of elements (such as logos, texts, backgrounds, and embellishments on the posters). Note that the validation set also consists of posters, not clean product images. The test set contains 1,000 clean product images without graphic elements such as logos or texts, consistent with real application data.
192
 
193
  ### Languages
194
 
195
- [More Information Needed]
196
-
197
 
198
  ## Dataset Structure
199
 
200
- ### Data Instances
201
-
202
- [More Information Needed]
203
-
204
-
205
  ### Data Fields
206
 
207
- [More Information Needed]
208
 
 
209
 
210
  ### Data Splits
211
 
212
- [More Information Needed]
213
-
 
 
 
 
 
 
 
214
 
215
  ## Dataset Creation
216
 
217
- ### Curation Rationale
218
-
219
- [More Information Needed]
220
-
221
-
222
- ### Source Data
223
-
224
- [More Information Needed]
225
-
226
-
227
- #### Initial Data Collection and Normalization
228
-
229
- [More Information Needed]
230
-
231
-
232
- #### Who are the source language producers?
233
-
234
- [More Information Needed]
235
-
236
-
237
- ### Annotations
238
-
239
- [More Information Needed]
240
-
241
-
242
- #### Annotation process
243
-
244
- [More Information Needed]
245
-
246
-
247
- #### Who are the annotators?
248
-
249
- [More Information Needed]
250
-
251
-
252
- ### Personal and Sensitive Information
253
-
254
- [More Information Needed]
255
-
256
 
257
  ## Considerations for Using the Data
258
 
259
- ### Social Impact of Dataset
260
-
261
- [More Information Needed]
262
-
263
-
264
- ### Discussion of Biases
265
-
266
- [More Information Needed]
267
-
268
-
269
- ### Other Known Limitations
270
-
271
- [More Information Needed]
272
-
273
 
274
  ## Additional Information
275
 
276
- ### Dataset Curators
277
-
278
- [More Information Needed]
279
-
280
-
281
  ### Licensing Information
282
 
283
- [More Information Needed]
284
-
285
 
286
  ### Citation Information
287
 
@@ -291,16 +209,13 @@ The task is to generate high-quality graphic layouts for advertising posters bas
291
  author = {Zhou, Min and Xu, Chenchen and Ma, Ye and Ge, Tiezheng and Jiang, Yuning and Xu, Weiwei},
292
  booktitle = {Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, {IJCAI-22}},
293
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
294
- editor = {Lud De Raedt},
295
  pages = {4995--5001},
296
  year = {2022},
297
- month = {7},
298
- note = {AI and Arts},
299
  doi = {10.24963/ijcai.2022/692},
300
- url = {https://doi.org/10.24963/ijcai.2022/692},
301
  }
302
  ```
303
 
304
  ### Contributions
305
 
306
- Thanks to [@minzhouGithub](https://github.com/minzhouGithub) for adding this dataset.
 
1
  ---
2
  annotations_creators:
3
+ - crowdsourced
4
  language:
5
+ - zh
6
  language_creators:
7
+ - found
8
  license:
9
+ - cc-by-nc-sa-4.0
10
  multilinguality:
11
+ - monolingual
12
  pretty_name: CGL-Dataset
13
+ size_categories:
14
+ - 10K<n<100K
15
  source_datasets:
16
+ - original
17
  tags:
18
+ - graphic-design
19
+ - poster
20
+ - layout-generation
21
  task_categories:
22
+ - image-to-image
23
  task_ids: []
24
+ configs:
25
+ - config_name: default
26
+ data_files:
27
+ - split: train
28
+ path: data/train-*
29
+ - split: validation
30
+ path: data/validation-*
31
+ - split: test
32
+ path: data/test-*
33
+ - config_name: ralf-style
34
+ data_files:
35
+ - split: train
36
+ path: ralf-style/train-*
37
+ - split: validation
38
+ path: ralf-style/validation-*
39
+ - split: test
40
+ path: ralf-style/test-*
41
+ - split: no_annotation
42
+ path: ralf-style/no_annotation-*
43
  dataset_info:
44
  - config_name: default
45
  features:
 
140
  num_examples: 1000
141
  download_size: 37543869068
142
  dataset_size: 37707823779.125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  ---
144
 
145
  # Dataset Card for CGL-Dataset
146
 
147
+ [![CI](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/ci.yaml/badge.svg)](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/ci.yaml)
148
+ [![Sync HF](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/push_to_hub.yaml/badge.svg)](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/push_to_hub.yaml)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
  ## Dataset Description
151
 
152
  - **Homepage:** https://github.com/minzhouGithub/CGL-GAN
153
  - **Repository:** https://github.com/creative-graphic-design/huggingface-datasets/tree/main/datasets/CGLDataset
154
  - **Hugging Face Dataset:** https://huggingface.co/datasets/creative-graphic-design/CGL-Dataset
155
+ - **Paper (arXiv):** https://arxiv.org/abs/2205.00303
156
+ - **Paper (IJCAI 2022):** https://www.ijcai.org/proceedings/2022/692
157
 
158
  ### Dataset Summary
159
 
160
+ CGL-Dataset is a poster layout dataset released with *Composition-aware Graphic Layout GAN for Visual-Textual Presentation Designs*. The paper studies layout generation for a given image, emphasizing that both global semantics and spatial image composition affect where graphic elements should be placed. The original dataset contains 60,548 advertising posters with annotated layout information.
161
 
162
  ### Supported Tasks and Leaderboards
163
 
164
+ The dataset supports poster layout generation and layout-conditioned graphic design modeling. No public leaderboard is bundled with this Hugging Face dataset.
165
 
166
  ### Languages
167
 
168
+ Poster text is primarily Chinese (`zh`).
 
169
 
170
  ## Dataset Structure
171
 
 
 
 
 
 
172
  ### Data Fields
173
 
174
+ The `default` config contains `image_id`, `file_name`, `width`, `height`, `image`, and COCO-style `annotations`.
175
 
176
+ The `ralf-style` config provides original posters, inpainted posters, saliency maps, and annotations for layout-generation pipelines.
177
 
178
  ### Data Splits
179
 
180
+ | Config | Split | Rows |
181
+ | --- | --- | ---: |
182
+ | default | train | 54,546 |
183
+ | default | validation | 6,002 |
184
+ | default | test | 1,000 |
185
+ | ralf-style | train | 48,438 |
186
+ | ralf-style | validation | 6,055 |
187
+ | ralf-style | test | 6,055 |
188
+ | ralf-style | no_annotation | 1,000 |
189
 
190
  ## Dataset Creation
191
 
192
+ The dataset was created for Composition-aware Graphic Layout GAN research. It provides visual element categories and positions for poster layout generation, enabling models to synthesize text and decorative layouts conditioned on image content rather than using template-only rules.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
 
194
  ## Considerations for Using the Data
195
 
196
+ The data focuses on advertising poster layouts and may reflect the visual conventions of the source domain.
 
 
 
 
 
 
 
 
 
 
 
 
 
197
 
198
  ## Additional Information
199
 
 
 
 
 
 
200
  ### Licensing Information
201
 
202
+ The dataset card uses the CC BY-NC-SA 4.0 metadata from the local loader.
 
203
 
204
  ### Citation Information
205
 
 
209
  author = {Zhou, Min and Xu, Chenchen and Ma, Ye and Ge, Tiezheng and Jiang, Yuning and Xu, Weiwei},
210
  booktitle = {Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, {IJCAI-22}},
211
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
 
212
  pages = {4995--5001},
213
  year = {2022},
 
 
214
  doi = {10.24963/ijcai.2022/692},
215
+ url = {https://doi.org/10.24963/ijcai.2022/692}
216
  }
217
  ```
218
 
219
  ### Contributions
220
 
221
+ Thanks to [minzhouGithub](https://github.com/minzhouGithub) for creating the original dataset.