Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The source code of our WACV2020 paper "Self-Contained Stylization via Steganographyfor Reverse and Serial Style Transfer".

License

NotificationsYou must be signed in to change notification settings

IShengFang/Self-Contained_Stylization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[arxiv][WACV2020][poster][project page]

This is the source code of our WACV2020 paper "Self-Contained Stylization via Steganographyfor Reverse and Serial Style Transfer".

Abstract

Style transfer has been widely applied to give real-world images a new artistic look. However, given a stylized image, the attempts to use typical style transfer methods for de-stylization or transferring it again into another style usually lead to artifacts or undesired results. We realize that these issues are originated from the content inconsistency between the original image and its stylized output. Therefore, in this paper we advance to keep the content information of the input image during the process of style transfer by the power of steganography, with two approaches proposed: a two-stage model and an end-to-end model. We conduct extensive experiments to successfully verify the capacity of our models, in which both of them are able to not only generate stylized images of quality comparable with the ones produced by typical style transfer methods, but also effectively eliminate the artifacts introduced in reconstructing original input from a stylized image as well as performing multiple times of style transfer in series.

Results

Requirements

  • Python 3.5+
  • PyTorch 0.4+
  • TorchVision
  • Pillow
  • tqdm

Usage

In each model folder, model.py define the model. In model.py, SelfContained_Style_Transfer moudle has the operations for regular, serial and reverse style transfer.

Testing

  1. download[pretrained_weights] in ./<method_dir>/model_weights/
  2. test.py can operate regular, serial and reverse style transfer.

Training

  1. DownloadMSCOCO images andWikiart images.
  2. Download[pretrained_weights]
  3. run train.py as floder REMEAD.md

Citation

@inproceedings{chen20wacv,title ={Self-Contained Stylization via Steganography for Reverse and Serial Style Transfer},author ={Hung-Yu Chen and I-Sheng Fang and Chia-Ming Cheng and Wei-Chen Chiu},booktitle ={IEEE Winter Conference on Applications of Computer Vision (WACV)},year ={2020}}

Acknowledgements

Part of the code is based onpytorch-AdaIN

About

The source code of our WACV2020 paper "Self-Contained Stylization via Steganographyfor Reverse and Serial Style Transfer".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp