Skip to content

The goal of this project is to use CycleGAN, a type of Generative Adversarial Network (GAN), to convert original images to Monet-style paintings. This project was motivated by the desire to explore the capabilities of GANs in image-to-image translation tasks, as well as the potential for using GANs to create artwork in different styles.

Notifications You must be signed in to change notification settings

MehwishSameer/Monet-Style-Transfer-with-CycleGAN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Monet-Style-Transfer-with-CycleGAN

Introduction:

The goal of this project is to use CycleGAN, a type of Generative Adversarial Network (GAN), to convert original images to Monet-style paintings. This project was motivated by the desire to explore the capabilities of GANs in image-to-image translation tasks, as well as the potential for using GANs to create artwork in different styles.

Tools and Technologies:

● Jupyter Notebook

● Keras

● TensorFlow

● Python

● Deep Learning

● GANS

● Convolution Neural Network

Methodology:

To implement this project, we used the TensorFlow framework and trained the CycleGAN model on a dataset of paired images, consisting of original photographs and corresponding Monet-style paintings. The dataset used for this project was obtained from the Kaggle competition "I’m Something of a Painter Myself" which provided a set of 7028 images. The CycleGAN model consists of two generators, G_AB and G_BA, and two discriminators, D_A and D_B. The generator G_AB converts an image from domain A (original photograph) to domain B (Monet-style painting), while G_BA performs the opposite transformation. The discriminators D_A and D_B distinguish between real and generated images from their respective domains. The training process involves updating the generators and discriminators in a cyclical manner, with each iteration consisting of a forward and backward pass through the generators and discriminators. The objective function for the generators includes both adversarial loss and cycle-consistency loss, while the discriminator objective function is based solely on adversarial loss.

Results:

The trained CycleGAN model was able to successfully convert original photographs to Monet-style paintings, producing visually pleasing and realistic results. Some of the limitations of the model include the tendency to generate paintings that are somewhat blurry or lack fine details, as well as the occasional loss of color accuracy or consistency. Applications: CycleGANs have a wide range of applications in various fields, including computer vision, graphics, and art. Here are some of the most notable applications of CycleGANs:

● Image-to-Image Translation: CycleGANs can be used for image-to-image translation tasks, such as converting a black-and-white image to a color image or translating images between different styles or domains. This can be useful for creating new and diverse visual content, such as generating realistic 3D models from 2D images.

● Video-to-Video Translation: Similar to image-to-image translation, CycleGANs can also be used for video-to-video translation tasks, such as converting low-quality videos to high-quality videos or translating videos between different styles or domains. This can be useful for video editing and post-production, as well as for creating new and diverse visual content.

● Style Transfer: CycleGANs can be used for style transfer, which involves transferring the style of one image onto another. This can be useful for creating artistic and creative visual effects, such as converting a photograph into a painting or applying a particular artistic style to an image.

● Virtual Try-On: CycleGANs can be used for virtual try-on applications, such as allowing customers to see how clothing or accessories will look on them without physically trying them on. By generating realistic images of a person wearing a particular item of clothing or accessory, customers can make more informed purchasing decisions.

● Medical Imaging: CycleGANs can be used for medical imaging applications, such as converting low-quality medical images to high-quality images or translating images between different modalities. This can be useful for improving medical diagnosis and treatment, as well as for medical research.

Conclusion:

CycleGAN Monet project is an example of image-to-image translation using CycleGAN. The project aimed to transform photos into a style that resembles the paintings of the French artist Claude Monet. Here are some possible conclusions that could be drawn from the project:

  1. CycleGAN can be used to successfully generate realistic and high-quality images in the style of Claude Monet. The generated images have a similar color palette and brushwork to Monet's paintings.

  2. The results of the project show that CycleGAN can be used to successfully transfer style from one domain to another without the need for paired training data. This makes it a promising technique for a wide range of image-to-image translation tasks.

  3. While the results of the project are impressive, there is still room for improvement in terms of image quality and consistency. For example, some of the generated images have artifacts or do not fully capture the style of Monet's paintings.

  4. The project highlights the potential of CycleGAN for creative applications such as artistic style transfer. It could be used to create new forms of digital art or to assist artists in experimenting with different styles and techniques.

Overall, the CycleGAN Monet project demonstrates the potential of CycleGAN for generating high-quality images in a specific style, and shows how the technique could be used in a variety of creative applications.

About

The goal of this project is to use CycleGAN, a type of Generative Adversarial Network (GAN), to convert original images to Monet-style paintings. This project was motivated by the desire to explore the capabilities of GANs in image-to-image translation tasks, as well as the potential for using GANs to create artwork in different styles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published