img_bytes unknown |
|---|
[
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
1,
244,
0,
0,
1,
244,
8,
6,
0,
0,
0,
203,
214,
223,
138,
0,
0,
32,
0,
73,
68,
65,
84,
120,
156,
236,
221,
119,
120,
92,
103,
157,
47,
240,
239,
... |
[
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
1,
244,
0,
0,
1,
244,
8,
6,
0,
0,
0,
203,
214,
223,
138,
0,
0,
32,
0,
73,
68,
65,
84,
120,
156,
236,
221,
119,
116,
156,
107,
94,
39,
248,
239,
... |
[
137,
80,
78,
71,
13,
10,
26,
10,
0,
0,
0,
13,
73,
72,
68,
82,
0,
0,
1,
244,
0,
0,
1,
244,
8,
6,
0,
0,
0,
203,
214,
223,
138,
0,
0,
32,
0,
73,
68,
65,
84,
120,
156,
236,
221,
119,
124,
221,
87,
125,
63,
254,
215,
... |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdd3xb53kv8N+Z2CAA7iWSIiWK1JYs25qWZVuyY2c(...TRUNCATED) |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdd3hc93kn+u/v9DO9AIPeSLB3iaIoybIkS7YcOY5(...TRUNCATED) |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdd5Rk53ke+Oe7+d7Kobs6x+nJEYMMAkzLINGiCMo(...TRUNCATED) |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdd3ycd2E/8M/zPPc8z+2lPSzLkjzildiJ44RMRgY(...TRUNCATED) |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdd3RkaXoe9uemyjkj59A5d89MT57Z2dnZQC7Jwyx(...TRUNCATED) |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdd5ycV3kv8N956/TZ2dm+Wq1WZbVa9WpJlm0kYyN(...TRUNCATED) |
"iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAgAElEQVR4nOzdeXjcV30v/vf5brPPSBrtiy3vdhw7jrMSkgAhJBA(...TRUNCATED) |
YAML Metadata Warning:The task_categories "image" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
YAML Metadata Warning:The task_categories "computer-vision" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
YAML Metadata Warning:The task_categories "generative-modelling" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
Dataset Card for Cartoon Set
Dataset Summary
Cartoon Set is a collection of random, 2D cartoon avatar images. The cartoons vary in 10 artwork categories, 4 color categories, and 4 proportion categories, with a total of ~10^13 possible combinations. We provide sets of 10k and 100k randomly chosen cartoons and labeled attributes.
Usage
cartoonset provides the images as PNG byte strings, this gives you a bit more flexibility into how to load the data. Here we show 2 ways:
Using PIL:
import datasets
from io import BytesIO
from PIL import Image
ds = datasets.load_dataset("cgarciae/cartoonset", "10k") # or "100k"
def process_fn(sample):
img = Image.open(BytesIO(sample["img_bytes"]))
...
return {"img": img}
ds = ds.map(process_fn, remove_columns=["img_bytes"])
Using TensorFlow:
import datasets
import tensorflow as tf
hfds = datasets.load_dataset("cgarciae/cartoonset", "10k") # or "100k"
ds = tf.data.Dataset.from_generator(
lambda: hfds,
output_signature={
"img_bytes": tf.TensorSpec(shape=(), dtype=tf.string),
},
)
def process_fn(sample):
img = tf.image.decode_png(sample["img_bytes"], channels=3)
...
return {"img": img}
ds = ds.map(process_fn)
Additional features: You can also access the features that generated each sample e.g:
ds = datasets.load_dataset("cgarciae/cartoonset", "10k+features") # or "100k+features"
Apart from img_bytes these configurations add a total of 18 * 2 additional int features, these come in {feature}, {feature}_num_categories pairs where num_categories indicates the number of categories for that feature. See Data Fields for the complete list of features.
Dataset Structure
Data Instances
A sample from the training set is provided below:
{
'img_bytes': b'0x...',
}
If +features is added to the dataset name, the following additional fields are provided:
{
'img_bytes': b'0x...',
'eye_angle': 0,
'eye_angle_num_categories': 3,
'eye_lashes': 0,
'eye_lashes_num_categories': 2,
'eye_lid': 0,
'eye_lid_num_categories': 2,
'chin_length': 2,
'chin_length_num_categories': 3,
...
}
Data Fields
img_bytes: A byte string containing the raw data of a 500x500 PNG image.
If +features is appended to the dataset name, the following additional int32 fields are provided:
eye_angleeye_angle_num_categorieseye_lasheseye_lashes_num_categorieseye_lideye_lid_num_categorieschin_lengthchin_length_num_categorieseyebrow_weighteyebrow_weight_num_categorieseyebrow_shapeeyebrow_shape_num_categorieseyebrow_thicknesseyebrow_thickness_num_categoriesface_shapeface_shape_num_categoriesfacial_hairfacial_hair_num_categoriesfacial_hair_num_categoriesfacial_hair_num_categorieshairhair_num_categorieshair_num_categorieshair_num_categorieseye_coloreye_color_num_categoriesface_colorface_color_num_categorieshair_colorhair_color_num_categoriesglassesglasses_num_categoriesglasses_colorglasses_color_num_categorieseyes_slanteye_slant_num_categorieseyebrow_widtheyebrow_width_num_categorieseye_eyebrow_distanceeye_eyebrow_distance_num_categories
Data Splits
Train
Dataset Creation
Licensing Information
This data is licensed by Google LLC under a Creative Commons Attribution 4.0 International License.
Citation Information
@article{DBLP:journals/corr/abs-1711-05139,
author = {Amelie Royer and
Konstantinos Bousmalis and
Stephan Gouws and
Fred Bertsch and
Inbar Mosseri and
Forrester Cole and
Kevin Murphy},
title = {{XGAN:} Unsupervised Image-to-Image Translation for many-to-many Mappings},
journal = {CoRR},
volume = {abs/1711.05139},
year = {2017},
url = {http://arxiv.org/abs/1711.05139},
eprinttype = {arXiv},
eprint = {1711.05139},
timestamp = {Mon, 13 Aug 2018 16:47:38 +0200},
biburl = {https://dblp.org/rec/journals/corr/abs-1711-05139.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Contributions
- Downloads last month
- 120
