domainnet
Stay organized with collections
Save and categorize content based on your preferences.
The DomainNet dataset consists of images from six distinct domains, including
photos (real), painting, clipart, quickdraw, infograph and sketch. Per domain
there are 48K - 172K images (600K in total) categorized into 345 classes.
In this TFDS version of DomainNet the cleaned version is used.
FeaturesDict({
'image': Image(shape=(None, None, 3), dtype=uint8),
'label': ClassLabel(shape=(), dtype=int64, num_classes=345),
})
Feature |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
image |
Image |
(None, None, 3) |
uint8 |
|
label |
ClassLabel |
|
int64 |
|
@inproceedings{peng2019moment,
title={Moment matching for multi-source domain adaptation},
author={Peng, Xingchao and Bai, Qinxun and Xia, Xide and Huang, Zijun and Saenko, Kate and Wang, Bo},
booktitle={Proceedings of the IEEE International Conference on Computer Vision},
pages={1406--1415},
year={2019}
}
domainnet/real (default config)
Download size: 5.65 GiB
Dataset size: 5.75 GiB
Splits:
Split |
Examples |
'test' |
52,041 |
'train' |
120,906 |

domainnet/painting
Download size: 3.43 GiB
Dataset size: 3.30 GiB
Splits:
Split |
Examples |
'test' |
21,850 |
'train' |
50,416 |

domainnet/clipart
Download size: 1.19 GiB
Dataset size: 1.27 GiB
Splits:
Split |
Examples |
'test' |
14,604 |
'train' |
33,525 |

domainnet/quickdraw
Split |
Examples |
'test' |
51,750 |
'train' |
120,750 |

domainnet/infograph
Download size: 4.04 GiB
Dataset size: 4.17 GiB
Splits:
Split |
Examples |
'test' |
15,582 |
'train' |
36,023 |

domainnet/sketch
Download size: 2.46 GiB
Dataset size: 2.55 GiB
Splits:
Split |
Examples |
'test' |
20,916 |
'train' |
48,212 |

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-11-23 UTC.
[null,null,["Last updated 2022-11-23 UTC."],[],[],null,["# domainnet\n\n\u003cbr /\u003e\n\n- **Description**:\n\nThe DomainNet dataset consists of images from six distinct domains, including\nphotos (real), painting, clipart, quickdraw, infograph and sketch. Per domain\nthere are 48K - 172K images (600K in total) categorized into 345 classes.\n\nIn this TFDS version of DomainNet the cleaned version is used.\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/domainnet)\n\n- **Homepage** : \u003chttp://ai.bu.edu/DomainNet/\u003e\n\n- **Source code** :\n [`tfds.image_classification.domainnet.Domainnet`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/image_classification/domainnet/domainnet.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): Initial release.\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(None, None, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=345),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|---------|--------------|-----------------|-------|-------------|\n| | FeaturesDict | | | |\n| image | Image | (None, None, 3) | uint8 | |\n| label | ClassLabel | | int64 | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('image', 'label')`\n\n- **Citation**:\n\n @inproceedings{peng2019moment,\n title={Moment matching for multi-source domain adaptation},\n author={Peng, Xingchao and Bai, Qinxun and Xia, Xide and Huang, Zijun and Saenko, Kate and Wang, Bo},\n booktitle={Proceedings of the IEEE International Conference on Computer Vision},\n pages={1406--1415},\n year={2019}\n }\n\ndomainnet/real (default config)\n-------------------------------\n\n- **Download size** : `5.65 GiB`\n\n- **Dataset size** : `5.75 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 52,041 |\n| `'train'` | 120,906 |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\ndomainnet/painting\n------------------\n\n- **Download size** : `3.43 GiB`\n\n- **Dataset size** : `3.30 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 21,850 |\n| `'train'` | 50,416 |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\ndomainnet/clipart\n-----------------\n\n- **Download size** : `1.19 GiB`\n\n- **Dataset size** : `1.27 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 14,604 |\n| `'train'` | 33,525 |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\ndomainnet/quickdraw\n-------------------\n\n- **Download size** : `445.65 MiB`\n\n- **Dataset size** : `435.16 MiB`\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 51,750 |\n| `'train'` | 120,750 |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\ndomainnet/infograph\n-------------------\n\n- **Download size** : `4.04 GiB`\n\n- **Dataset size** : `4.17 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 15,582 |\n| `'train'` | 36,023 |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\ndomainnet/sketch\n----------------\n\n- **Download size** : `2.46 GiB`\n\n- **Dataset size** : `2.55 GiB`\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|----------|\n| `'test'` | 20,916 |\n| `'train'` | 48,212 |\n\n- **Figure** ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples..."]]