- Description:
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.
Additional Documentation: Explore on Papers With Code
Homepage: http://ai.bu.edu/DomainNet/
Source code:
tfds.image_classification.domainnet.DomainnetVersions:
1.0.0(default): Initial release.
Auto-cached (documentation): No
Feature structure:
FeaturesDict({
'image': Image(shape=(None, None, 3), dtype=uint8),
'label': ClassLabel(shape=(), dtype=int64, num_classes=345),
})
- Feature documentation:
| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
| FeaturesDict | ||||
| image | Image | (None, None, 3) | uint8 | |
| label | ClassLabel | int64 |
Supervised keys (See
as_superviseddoc):('image', 'label')Citation:
@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 GiBDataset size:
5.75 GiBSplits:
| Split | Examples |
|---|---|
'test' |
52,041 |
'train' |
120,906 |
- Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):
domainnet/painting
Download size:
3.43 GiBDataset size:
3.30 GiBSplits:
| Split | Examples |
|---|---|
'test' |
21,850 |
'train' |
50,416 |
- Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):
domainnet/clipart
Download size:
1.19 GiBDataset size:
1.27 GiBSplits:
| Split | Examples |
|---|---|
'test' |
14,604 |
'train' |
33,525 |
- Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):
domainnet/quickdraw
Download size:
445.65 MiBDataset size:
435.16 MiBSplits:
| Split | Examples |
|---|---|
'test' |
51,750 |
'train' |
120,750 |
- Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):
domainnet/infograph
Download size:
4.04 GiBDataset size:
4.17 GiBSplits:
| Split | Examples |
|---|---|
'test' |
15,582 |
'train' |
36,023 |
- Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):
domainnet/sketch
Download size:
2.46 GiBDataset size:
2.55 GiBSplits:
| Split | Examples |
|---|---|
'test' |
20,916 |
'train' |
48,212 |
- Figure (tfds.show_examples):

- Examples (tfds.as_dataframe):