All Projects → Suvoo → Image-Style-Transfer-Using-CNNs

Suvoo / Image-Style-Transfer-Using-CNNs

Licence: GPL-3.0 license
Implementation of Image Style Transfer Using CNNs using Pytorch.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Image-Style-Transfer-Using-CNNs

Pytorch Style Swap
Unofficial Pytorch(1.0+) implementation of paper [Fast Patch-based Style Transfer of Arbitrary Style](https://arxiv.org/abs/1612.04337).
Stars: ✭ 56 (+250%)
Mutual labels:  styletransfer
Pytorch AdaIN
Pytorch implementation from scratch of [Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization [Huang+, ICCV2017]]
Stars: ✭ 85 (+431.25%)
Mutual labels:  styletransfer
stylizeapp
A flask website for style transfer
Stars: ✭ 34 (+112.5%)
Mutual labels:  styletransfer
awesome style transfer
The style transfer paper collection in International CV conference
Stars: ✭ 42 (+162.5%)
Mutual labels:  styletransfer
Meetup-Content
Entirety.ai Intuition to Implementation Meetup Content.
Stars: ✭ 33 (+106.25%)
Mutual labels:  styletransfer
SANET
"Arbitrary Style Transfer with Style-Attentional Networks" (CVPR 2019)
Stars: ✭ 21 (+31.25%)
Mutual labels:  styletransfer
color-aware-style-transfer
Reference code for the paper CAMS: Color-Aware Multi-Style Transfer.
Stars: ✭ 36 (+125%)
Mutual labels:  styletransfer

Implementation of Image Style Transfer Using Convolutional Neural Networks using Pytorch

Style Transfer with Deep Neural Networks

This notebook recreates a style transfer method that is outlined in the paper, Image Style Transfer Using Convolutional Neural Networks, by Gatys in PyTorch.

In this paper, style transfer uses the features found in the 19-layer VGG Network, which is comprised of a series of convolutional and pooling layers, and a few fully-connected layers. In the image below, the convolutional layers are named by stack and their order in the stack. Conv1_1 is the first convolutional layer that an image is passed through, in the first stack. Conv2_1 is the first convolutional layer in the second stack. The deepest convolutional layer in the network is conv5_4.

Separating Style and Content

Style transfer relies on separating the content and style of an image. Given one content image and one style image, we aim to create a new, target image which should contain our desired content and style components:

An example is shown below, where the content image is of a cat, and the style image is of Hokusai's Great Wave. The generated target image still contains the cat but is stylized with the waves, blue and beige colors, and block print textures of the style image!

This notebook will use a pre-trained VGG19 Net to extract content or style features from a passed in image.

image

Results from the Notebook

image

image

Results from the Paper

image

Project Maintainer(s)

Suvodeep Sinha

Your Name Here (Insert Your Image Link In Src

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].