This toy example of CycleGAN is a simplified implementation of the well-known CycleGAN.
Note: For a detailed explanation of the principles and implementation, please refer to the original paper and resources provided by the authors:
Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks
Jun-Yan Zhu, Taesung Park, Phillip Isola, Alexei A. Efros
Berkeley AI Research Lab, UC Berkeley
In ICCV 2017
The original paper, Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks presents desired applications such as photo-to-painting translation, style and season transfer, object transfiguration, and photo enhancement. The example here only implemented image translation between photos and paintings. The architecture is illustrated as follows:

