Skip to content

Test for style transfer with tensorflow with tensorflow hub and custom algorithms. Code from tensorflow tutorials official website.

License

Notifications You must be signed in to change notification settings

maxencerb/Style_transfer_tensorflow

Repository files navigation

Style transfer with tensorflow

Style transfer with existing model on tensorflow hub

Usage notice :

First clone the repo

git clone https://github.com/maxencerb/Style_transfer_tensorflow.git

Then simply use the function as detailed in the python notebook.

from fast_style_transfer import complete_fast_algorithm

content_path = './content_images/champs_elysees.jpg'
style_path = './style_images/starry_night.jpg'

result_image = complete_fast_algorithm(content_path, style_path)

result_image.save('path/to/file.png')

Test result

The content image is :

alt text

The style image is Starry night by Van Gogh:

alt text

And the result is amazing I think :

alt text

About

Test for style transfer with tensorflow with tensorflow hub and custom algorithms. Code from tensorflow tutorials official website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published