cycle_gan
Stay organized with collections
Save and categorize content based on your preferences.
A dataset consisting of images from two classes A and B (For example:
horses/zebras, apple/orange,...)
FeaturesDict({
'image': Image(shape=(None, None, 3), dtype=uint8),
'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
})
Feature |
Class |
Shape |
Dtype |
Description |
|
FeaturesDict |
|
|
|
image |
Image |
(None, None, 3) |
uint8 |
|
label |
ClassLabel |
|
int64 |
|
@article{DBLP:journals/corr/ZhuPIE17,
author = {Jun{-}Yan Zhu and
Taesung Park and
Phillip Isola and
Alexei A. Efros},
title = {Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial
Networks},
journal = {CoRR},
volume = {abs/1703.10593},
year = {2017},
url = {http://arxiv.org/abs/1703.10593},
archivePrefix = {arXiv},
eprint = {1703.10593},
timestamp = {Mon, 13 Aug 2018 16:48:06 +0200},
biburl = {https://dblp.org/rec/bib/journals/corr/ZhuPIE17},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
cycle_gan/apple2orange (default config)
Split |
Examples |
'testA' |
266 |
'testB' |
248 |
'trainA' |
995 |
'trainB' |
1,019 |

cycle_gan/summer2winter_yosemite
Split |
Examples |
'testA' |
309 |
'testB' |
238 |
'trainA' |
1,231 |
'trainB' |
962 |

cycle_gan/horse2zebra
Split |
Examples |
'testA' |
120 |
'testB' |
140 |
'trainA' |
1,067 |
'trainB' |
1,334 |

cycle_gan/monet2photo
Split |
Examples |
'testA' |
121 |
'testB' |
751 |
'trainA' |
1,072 |
'trainB' |
6,287 |

cycle_gan/cezanne2photo
Split |
Examples |
'testA' |
58 |
'testB' |
751 |
'trainA' |
525 |
'trainB' |
6,287 |

cycle_gan/ukiyoe2photo
Split |
Examples |
'testA' |
263 |
'testB' |
751 |
'trainA' |
562 |
'trainB' |
6,287 |

cycle_gan/vangogh2photo
Split |
Examples |
'testA' |
400 |
'testB' |
751 |
'trainA' |
400 |
'trainB' |
6,287 |

cycle_gan/maps
Split |
Examples |
'testA' |
1,098 |
'testB' |
1,098 |
'trainA' |
1,096 |
'trainB' |
1,096 |

cycle_gan/facades
Split |
Examples |
'testA' |
106 |
'testB' |
106 |
'trainA' |
400 |
'trainB' |
400 |

cycle_gan/iphone2dslr_flower
Split |
Examples |
'testA' |
569 |
'testB' |
480 |
'trainA' |
1,812 |
'trainB' |
3,325 |

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 2024-06-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-01 UTC."],[],[],null,["# cycle_gan\n\n\u003cbr /\u003e\n\n- **Description**:\n\nA dataset consisting of images from two classes A and B (For example:\nhorses/zebras, apple/orange,...)\n\n- **Homepage** :\n \u003chttps://junyanz.github.io/CycleGAN/\u003e\n\n- **Source code** :\n [`tfds.image_classification.CycleGAN`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/image_classification/cycle_gan.py)\n\n- **Versions**:\n\n - **`3.0.0`** (default): Cityscapes dataset is removed due to license issue.\n- **Feature structure**:\n\n FeaturesDict({\n 'image': Image(shape=(None, None, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=2),\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 @article{DBLP:journals/corr/ZhuPIE17,\n author = {Jun{-}Yan Zhu and\n Taesung Park and\n Phillip Isola and\n Alexei A. Efros},\n title = {Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial\n Networks},\n journal = {CoRR},\n volume = {abs/1703.10593},\n year = {2017},\n url = {http://arxiv.org/abs/1703.10593},\n archivePrefix = {arXiv},\n eprint = {1703.10593},\n timestamp = {Mon, 13 Aug 2018 16:48:06 +0200},\n biburl = {https://dblp.org/rec/bib/journals/corr/ZhuPIE17},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n }\n\ncycle_gan/apple2orange (default config)\n---------------------------------------\n\n- **Download size** : `74.82 MiB`\n\n- **Dataset size** : `76.89 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 266 |\n| `'testB'` | 248 |\n| `'trainA'` | 995 |\n| `'trainB'` | 1,019 |\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\ncycle_gan/summer2winter_yosemite\n--------------------------------\n\n- **Download size** : `126.50 MiB`\n\n- **Dataset size** : `127.52 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 309 |\n| `'testB'` | 238 |\n| `'trainA'` | 1,231 |\n| `'trainB'` | 962 |\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\ncycle_gan/horse2zebra\n---------------------\n\n- **Download size** : `111.45 MiB`\n\n- **Dataset size** : `112.55 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 120 |\n| `'testB'` | 140 |\n| `'trainA'` | 1,067 |\n| `'trainB'` | 1,334 |\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\ncycle_gan/monet2photo\n---------------------\n\n- **Download size** : `291.09 MiB`\n\n- **Dataset size** : `295.75 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 121 |\n| `'testB'` | 751 |\n| `'trainA'` | 1,072 |\n| `'trainB'` | 6,287 |\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\ncycle_gan/cezanne2photo\n-----------------------\n\n- **Download size** : `266.92 MiB`\n\n- **Dataset size** : `269.56 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 58 |\n| `'testB'` | 751 |\n| `'trainA'` | 525 |\n| `'trainB'` | 6,287 |\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\ncycle_gan/ukiyoe2photo\n----------------------\n\n- **Download size** : `279.38 MiB`\n\n- **Dataset size** : `282.62 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 263 |\n| `'testB'` | 751 |\n| `'trainA'` | 562 |\n| `'trainB'` | 6,287 |\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\ncycle_gan/vangogh2photo\n-----------------------\n\n- **Download size** : `292.39 MiB`\n\n- **Dataset size** : `295.09 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 400 |\n| `'testB'` | 751 |\n| `'trainA'` | 400 |\n| `'trainB'` | 6,287 |\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\ncycle_gan/maps\n--------------\n\n- **Download size** : `1.38 GiB`\n\n- **Dataset size** : `701.08 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 1,098 |\n| `'testB'` | 1,098 |\n| `'trainA'` | 1,096 |\n| `'trainB'` | 1,096 |\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\ncycle_gan/facades\n-----------------\n\n- **Download size** : `33.51 MiB`\n\n- **Dataset size** : `34.83 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n Yes\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 106 |\n| `'testB'` | 106 |\n| `'trainA'` | 400 |\n| `'trainB'` | 400 |\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\ncycle_gan/iphone2dslr_flower\n----------------------------\n\n- **Download size** : `324.22 MiB`\n\n- **Dataset size** : `325.82 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|------------|----------|\n| `'testA'` | 569 |\n| `'testB'` | 480 |\n| `'trainA'` | 1,812 |\n| `'trainB'` | 3,325 |\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..."]]