Skip to content

Vermeille/neural_style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Algorithm Of Artistic Style

This is Yet Another reimplementation of the original algorithm of Neural Artistic Style by Leon Gatys. However, this implementation has those nice features:

  • It's 100% Pytorch. No other dependencies for style.py. Though you can install Vermeille/limpid for better and faster convergence.
  • It also implements the color preservation given in Controlling Perceptual Factors of Neural Artistic Style (still by Gatys)
  • It embeds a web interface based on Flask. However this is not production ready. The server will just not respond while a picture is being computed. Just host it on your own cloud, and don't give the link to anyone :)

Running it

As a webservice:

python3 style_server.py

As a command line tool:

face.jpg

face

painting.png

painting

python3 style.py --content face.jpg --style painting.png --out out.jpg --size 720

out.jpg

out

About

A reimplementation of neural style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages