/Mixed-Neural-Style-Transfer

Mixed art style transfer using Deep Neural network! Check out my website here:

Primary LanguageJupyter Notebook

Mixed Neural Style Transfer

Image description (The image in the center is in the combined style of the images on the left and the right.)

Description

In this project, I use an idea inspired by one of my academic research projects: I designed adaptable materials using oscillatory optimization goals. Here, I'm letting the learner, an algorithm that mimics the style of a painting, repeatedly change its mind about which style it prefers. The learner oscillates between learning how to paint like Van Gogh and learning how to paint like Picasso. After several cycles, the learner ends up painting in a style that has qualities of both!

We make use of a technique called Neural Style Transfer to mimic a single style. The code for this subproblem is heavy adapted from the following link: Neural Transfer using PyTorch.

Prerequired packages

pip install numpy
pip3 install torch torchvision
pip install matplotlib

Usage

Following along the jupyter notebook oscillating_using_pytorch-ongithub_final.ipynb

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Further reading

Let machines help you design your own art style