TensorFlow 2.0 RC is available Learn more

cycle_gan

Dataset with images from 2 classes (see config name for information on the specific class)

cycle_gan is configured with tfds.image.cycle_gan.CycleGANConfig and has the following configurations predefined (defaults to the first one):

  • apple2orange (v0.1.0) (Size: 74.82 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • summer2winter_yosemite (v0.1.0) (Size: 126.50 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • horse2zebra (v0.1.0) (Size: 111.45 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • monet2photo (v0.1.0) (Size: 291.09 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • cezanne2photo (v0.1.0) (Size: 266.92 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • ukiyoe2photo (v0.1.0) (Size: 279.38 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • vangogh2photo (v0.1.0) (Size: 292.39 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • maps (v0.1.0) (Size: 1.38 GiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • cityscapes (v0.1.0) (Size: 266.65 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • facades (v0.1.0) (Size: 33.51 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

  • iphone2dslr_flower (v0.1.0) (Size: 324.22 MiB): A dataset consisting of images from two classes A and B (For example: horses/zebras, apple/orange,...)

cycle_gan/apple2orange

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/summer2winter_yosemite

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/horse2zebra

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/monet2photo

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/cezanne2photo

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/ukiyoe2photo

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/vangogh2photo

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/maps

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/cityscapes

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/facades

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

cycle_gan/iphone2dslr_flower

FeaturesDict({
    'image': Image(shape=(None, None, 3), dtype=tf.uint8),
    'label': ClassLabel(shape=(), dtype=tf.int64, num_classes=2),
})

Statistics

Split Examples
ALL 6,186
TRAINB 3,325
TRAINA 1,812
TESTA 569
TESTB 480

Urls

Supervised keys (for as_supervised=True)

(u'image', u'label')