Dataset Preview
Go to dataset viewer
The dataset preview is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: 'zip://horse2zebra/trainA/n02381460_1001.jpg::'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/", line 571, in compute_first_rows_response
                  rows = get_rows(
                File "/src/services/worker/src/worker/job_runners/", line 162, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/", line 218, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 937, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/", line 113, in __iter__
                  yield from self.generate_examples_fn(**self.kwargs)
                File "/tmp/modules-cache/datasets_modules/datasets/gigant--horse2zebra/271a4163c0a544ca808b416a14bfd32156a1e33078242c9f820df4bf246ddb2b/", line 77, in _generate_examples
                  with, image_file)) as img :
                File "/src/services/worker/.venv/lib/python3.9/site-packages/PIL/", line 3227, in open
                  fp =, "rb")
              FileNotFoundError: [Errno 2] No such file or directory: 'zip://horse2zebra/trainA/n02381460_1001.jpg::'

Need help to make the dataset viewer work? Open an discussion for direct support.

Dataset Summary

This dataset was obtained from the original CycleGAN Datasets directory available on Berkeley's website.

For more details about the dataset you can refer to the original CycleGAN publication.

How to use

You can easily load the dataset with the following lines :

from datasets import load_dataset

data_horses = load_dataset("gigant/horse2zebra", name="horse", split="train")
data_zebras = load_dataset("gigant/horse2zebra", name="zebra", split="train")

Two splits are available, "train" and "test"

Citation Information

  title={Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks},
  author={Zhu, Jun-Yan and Park, Taesung and Isola, Phillip and Efros, Alexei A},
  booktitle={Computer Vision (ICCV), 2017 IEEE International Conference on},
Downloads last month