サイクルガン
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
2 つのクラス A と B の画像で構成されるデータセット (例: 馬/シマウマ、リンゴ/オレンジなど)
FeaturesDict({
'image': Image(shape=(None, None, 3), dtype=uint8),
'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
})
特徴 | クラス | 形 | Dタイプ | 説明 |
---|
| 特徴辞書 | | | |
画像 | 画像 | (なし、なし、3) | uint8 | |
ラベル | クラスラベル | | 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 (デフォルト設定)
ダウンロードサイズ: 74.82 MiB
データセットのサイズ: 76.89 MiB
自動キャッシュ(ドキュメント): はい
分割:
スプリット | 例 |
---|
'testA' | 266 |
'testB' | 248 |
'trainA' | 995 |
'trainB' | 1,019 |

サイクルガン/サマー2ウィンター_ヨセミテ
ダウンロードサイズ: 126.50 MiB
データセットのサイズ: 127.52 MiB
自動キャッシュ(ドキュメント): はい
分割:
スプリット | 例 |
---|
'testA' | 309 |
'testB' | 238 |
'trainA' | 1,231 |
'trainB' | 962 |

サイクルガン/horse2zebra
ダウンロードサイズ: 111.45 MiB
データセットのサイズ: 112.55 MiB
自動キャッシュ(ドキュメント): はい
分割:
スプリット | 例 |
---|
'testA' | 120 |
'testB' | 140 |
'trainA' | 1,067 |
'trainB' | 1,334 |

サイクルガン/モネ2フォト
ダウンロードサイズ: 291.09 MiB
データセットのサイズ: 295.75 MiB
自動キャッシュ(ドキュメント): いいえ
分割:
スプリット | 例 |
---|
'testA' | 121 |
'testB' | 751 |
'trainA' | 1,072 |
'trainB' | 6,287 |

サイクルガン/cezanne2photo
ダウンロードサイズ: 266.92 MiB
データセットのサイズ: 269.56 MiB
自動キャッシュ(ドキュメント): いいえ
分割:
スプリット | 例 |
---|
'testA' | 58 |
'testB' | 751 |
'trainA' | 525 |
'trainB' | 6,287 |

サイクルガン/浮世絵2写真
ダウンロードサイズ: 279.38 MiB
データセットのサイズ: 282.62 MiB
自動キャッシュ(ドキュメント): いいえ
分割:
スプリット | 例 |
---|
'testA' | 263 |
'testB' | 751 |
'trainA' | 562 |
'trainB' | 6,287 |

サイクルガン/ヴァンゴッホ2フォト
ダウンロードサイズ: 292.39 MiB
データセットのサイズ: 295.09 MiB
自動キャッシュ(ドキュメント): いいえ
分割:
スプリット | 例 |
---|
'testA' | 400 |
'testB' | 751 |
'trainA' | 400 |
'trainB' | 6,287 |

サイクルガン/マップ
ダウンロードサイズ: 1.38 GiB
データセットのサイズ: 701.08 MiB
自動キャッシュ(ドキュメント): いいえ
分割:
スプリット | 例 |
---|
'testA' | 1,098 |
'testB' | 1,098 |
'trainA' | 1,096 |
'trainB' | 1,096 |

サイクルガン/ファサード
ダウンロードサイズ: 33.51 MiB
データセットのサイズ: 34.83 MiB
自動キャッシュ(ドキュメント): はい
分割:
スプリット | 例 |
---|
'testA' | 106 |
'testB' | 106 |
'trainA' | 400 |
'trainB' | 400 |

サイクルガン/iphone2dslr_flower
ダウンロードサイズ: 324.22 MiB
データセットのサイズ: 325.82 MiB
自動キャッシュ(ドキュメント): いいえ
分割:
スプリット | 例 |
---|
'testA' | 569 |
'testB' | 480 |
'trainA' | 1,812 |
'trainB' | 3,325 |

特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-06-01 UTC。
[null,null,["最終更新日 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..."]]