Skip to content

GSQTech/caffe_style_transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caffe implementation of "Perceptual Losses for Real-Time Style Transfer and Super-Resolution"

Fast artistic style transfer by using feed forward network.

Requirement

Convert

python caffe_style_transfer.py <input_image_path> -m <model_path> -o <output_image_path> -g <use_gpu ? gpu_id : 0>

This repo has pretrained models as an example in model_caffe.

  • example:
python caffe_style_transfer.py sample_images/HKU.jpg -m model_caffe/japan.caffemodel -o sample_images/output.jpg

or

python caffe_style_transfer.py sample_images/HKU.jpg -m model_caffe/modern.caffemodel -o sample_images/output.jpg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages