Datasets:
The dataset viewer is not available for this dataset.
Error code: DatasetModuleNotInstalledError Exception: ImportError Message: To be able to use creative-graphic-design/CGL-Dataset-v2, you need to install the following dependency: pycocotools. Please install it using 'pip install pycocotools' for instance. Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response config_names = get_dataset_config_names( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 347, in get_dataset_config_names dataset_module = dataset_module_factory( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1879, in dataset_module_factory raise e1 from None File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1845, in dataset_module_factory return HubDatasetModuleFactoryWithScript( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1473, in get_module local_imports = _download_additional_modules( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 349, in _download_additional_modules raise ImportError( ImportError: To be able to use creative-graphic-design/CGL-Dataset-v2, you need to install the following dependency: pycocotools. Please install it using 'pip install pycocotools' for instance.
Need help to make the dataset viewer work? Open a discussion for direct support.
Dataset Card for CGL-Dataset-v2
Dataset Summary
CGL-Dataset V2 is a dataset for the task of automatic graphic layout design of advertising posters, containing 60,548 training samples and 1035 testing samples. It is an extension of CGL-Dataset.
Supported Tasks and Leaderboards
[More Information Needed]
Languages
The language data in CGL-Dataset v2 is in Chinese (BCP-47 zh).
Dataset Structure
Data Instances
To use CGL-Dataset v2 dataset, you need to download RADM_dataset.tar.gz
that includes the poster image, text and text features via JD Cloud or Google Drive.
Then place the downloaded files in the following structure and specify its path.
/path/to/datasets
└── RADM_dataset.tar.gz
import datasets as ds
dataset = ds.load_dataset(
path="shunk031/CGL-Dataset-v2",
data_dir="/path/to/datasets/RADM_dataset.tar.gz",
decode_rle=True, # True if Run-length Encoding (RLE) is to be decoded and converted to binary mask.
include_text_features=True, # True if RoBERTa-based text feature is to be loaded.
)
Data Fields
[More Information Needed]
Data Splits
[More Information Needed]
Dataset Creation
Curation Rationale
[More Information Needed]
Source Data
[More Information Needed]
Initial Data Collection and Normalization
[More Information Needed]
Who are the source language producers?
[More Information Needed]
Annotations
[More Information Needed]
Annotation process
[More Information Needed]
Who are the annotators?
[More Information Needed]
Personal and Sensitive Information
[More Information Needed]
Considerations for Using the Data
Social Impact of Dataset
[More Information Needed]
Discussion of Biases
[More Information Needed]
Other Known Limitations
[More Information Needed]
Additional Information
Dataset Curators
[More Information Needed]
Licensing Information
[More Information Needed]
Citation Information
@inproceedings{li2023relation,
title={Relation-Aware Diffusion Model for Controllable Poster Layout Generation},
author={Li, Fengheng and Liu, An and Feng, Wei and Zhu, Honghe and Li, Yaoyu and Zhang, Zheng and Lv, Jingjing and Zhu, Xin and Shen, Junjie and Lin, Zhangang},
booktitle={Proceedings of the 32nd ACM international conference on information & knowledge management},
pages={1249--1258},
year={2023}
}
Contributions
Thanks to @liuan0803 for creating this dataset.
- Downloads last month
- 0