Skip to content

ranjanan/Texturize.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Texturize.jl

This package implements an algorithm called neural styles.

Currently, you can generate an image using any of available pre-trained models.

Usage

perceptual("path/to/input/", "model"; gpu = -1, write = true, out = "")

Kwargs:

  • gpu: If you set this to true, the model is loaded onto the GPU. Improves performance.
  • write: If this is true, it writes to file.
  • out: By default, path/$(name)_output.jpg is the name of the file written. With this, you can change the output filename and path.

Example

If this is the input:

alt text

running perceptual("img.jpg", "s4") will give you:

alt text

References

Credits

The original Python implementation here by @zhaw

About

Neural style in Julia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages