Style transfer, deep learning, feature transform
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
PhotoWCTModels Add photo_wct.pth to the main repo Jul 25, 2018
.gitignore Add the tutorial page Jul 26, 2018
Dockerfile Update docker image and pynvrtc interface code Jul 31, 2018
LICENSE.md Add license file Feb 19, 2018
README.md Update README.md Jul 26, 2018
TUTORIAL.md Update docker image and pynvrtc interface code Jul 31, 2018
ade20k_semantic_rel.npy Add the tutorial page Jul 26, 2018
converter.py Add a converter which shows how to convert old torch models into pyto… Mar 2, 2018
demo.py Add the tutorial page Jul 26, 2018
demo_example1.sh Add the tutorial page Jul 26, 2018
demo_example1_fast.sh Add the tutorial page Jul 26, 2018
demo_example3.sh Add the tutorial page Jul 26, 2018
demo_mask_poly.png Add files via upload Jul 27, 2018
demo_result_content3_seg.pgm.visualization.jpg Add the tutorial page Jul 26, 2018
demo_result_example1.png Add the tutorial page Jul 26, 2018
demo_result_example2.png Add the tutorial page Jul 26, 2018
demo_result_example3.png Add the tutorial page Jul 26, 2018
demo_result_style3_seg.pgm.visualization.jpg Add the tutorial page Jul 26, 2018
demo_with_ade20k_ssn.py Add the tutorial page Jul 26, 2018
demo_with_segmentation.gif update gif Jul 27, 2018
download_models.py Scripted pretrained model download (#24) Mar 2, 2018
download_models.sh Scripted pretrained model download (#24) Mar 2, 2018
models.py Bug fixing & add cuda options (#28) Mar 2, 2018
photo_gif.py Add the tutorial page Jul 26, 2018
photo_smooth.py Add the tutorial page Jul 26, 2018
photo_wct.py Add the tutorial page Jul 26, 2018
process_stylization.py Add the tutorial page Jul 26, 2018
process_stylization_ade20k_ssn.py Add the tutorial page Jul 26, 2018
process_stylization_folder.py Add the tutorial page Jul 26, 2018
smooth_filter.py Update docker image and pynvrtc interface code Jul 31, 2018
teaser.png Update teaser image Feb 22, 2018

README.md

License CC BY-NC-SA 4.0 Python 2.7 Python 3.5

FastPhotoStyle

License

Copyright (C) 2018 NVIDIA Corporation. All rights reserved. Licensed under the CC BY-NC-SA 4.0 license (https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode).

What's new

Date News
2018-07-25 Migrate to pytorch 0.4.0. For pytorch 0.3.0 user, check out FastPhotoStyle for pytorch 0.3.0.
Add a tutorial showing 3 ways of using the FastPhotoStyle algorithm.
2018-07-10 Our paper is accepted by the ECCV 2018 conference!!!

About

Given a content photo and a style photo, the code can transfer the style of the style photo to the content photo. The details of the algorithm behind the code is documented in our arxiv paper. Please cite the paper if this code repository is used in your publications.

A Closed-form Solution to Photorealistic Image Stylization
Yijun Li (UC Merced), Ming-Yu Liu (NVIDIA), Xueting Li (UC Merced), Ming-Hsuan Yang (NVIDIA, UC Merced), Jan Kautz (NVIDIA)
European Conference on Computer Vision (ECCV), 2018

Tutorial

Please check out the tutorial.