Skip to content

miknyko/tensorflow_Neural_Style_Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tensorflow_Neural_Style_Transfer

Original NST accomplished in Tensorflow2.0
NST风格迁移原论文的tensorflow2.0实现,按照原论文使用IMAGENET预训练过的VGG19作为feature extractor

示例

examples from original paper

使用环境

python = 3.6
tensorflow = 2.0 (可使用GPU)

使用方法

(可以直接运行main.py进行测试)
1.将内容照片(如一张人像,一张风景)放入input/content下,将风格照片(如梵高的印象派画作)放入input/style下
2.修改main.py中的content image和style image路径 Modify the image path in main.py
3.运行main.py

P.S. 在CPU上可能耗时较长,建议在能够使用gpu的机器上运行

更多详情请参阅原论文

Original Paper:A Neural Algorithm of Artistic Style

About

Original NST in tensorflow2.0 风格迁移tensorflow2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages