Skip to content

PyTorch Implementation of Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization

License

Notifications You must be signed in to change notification settings

cf2333/Style-Transfer-Adaptive-Instance-Normalization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization in PyTorch

This is an unofficial PyTorch implementation of Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization by Harry Yang. The code is adapted from author's torch implementation AdaIN-style.

The code only contains inference (no training part yet). The decoder model and the vgg model are converted from the torch model using this torch-to-pytorch-convertion, which, together with the original torch model, could be downloaded from here. The code was intended to take two random images from CIFAR10 and use them as the content image and style image respectively. We tested the output such that it is identical with the result of the author's torch implementation.

An example of the result is like this (the content image, the style image and the style transfer result):

cifar10 cifar10 cifar10

About

PyTorch Implementation of Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%