Skip to content

A PyTorch Implementation of Image Style Transfer Using Convolutional Neural Networks

Notifications You must be signed in to change notification settings

ali-gtw/ImageStyleTransfer-CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A PyTorch Implementation of Image Style Transfer Using Convolutional Neural Networks

This is a PyTorch implementation of Image Style Transfer Using Convolutional Neural Networks, inspired by authors of paper repo.

Coarse-to-fine high-resolution is also added, from paper Controlling Perceptual Factors in Neural Style Transfer.

Usage

Simply run python3 main.py.

You may want to change DATA.STYLE_IMG_PATH, DATA.CONTENT_IMG_PATH in config file, for transferring style of your desired style image to your content image.

Example

We used the same images, as the authors.

Content Image: Content

Style Image: Style

Result of transferring the style to content image: Results

Result of high resolution image: Results

About

A PyTorch Implementation of Image Style Transfer Using Convolutional Neural Networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published