Git Product home page Git Product logo

deepphotostyle_pytorch's Introduction

DeepPhotoStyle_pytorch(中文说明)

Recreating paper "Deep Photo Style Transfer" with pytorch. This project supply semantic segmentation code.

Here are some experiment results

Setup

Install pytorch version 0.4.1 with CUDA Python version: python3.6

git clone 

https://github.com/ray075hl/DeepPhotoStyle_pytorch.git

cd DeepPhotoStyle_pytorch

sh download_seg_model.sh 




python main.py --style_image path_style_image --content_image path_content_image

download_seg_model site may not available. You can download segmentation model here

Notice

The semantic segmentation result of image pair(style and content) have a huge impact to the quality of transfered image. Check the segmentation result to see whether the relative semantic of image pair as you expected(for example, sky match sky, person match person etc.) or not.

Reference

[1] All the code of semantic segmentation from here Semantic-segmentation-pytorch. I appreciate this fantastic project greatly.

[2] Base framework of neural style transfer. Neural Transfer with PyTorch

[3] Compute laplacian matirx. Closed-form-matting

[4] "Deep Photo Style Transfer"

[5] Post-processing of photo to photo.Visual Attribute Transfer through Deep Image Analogy

deepphotostyle_pytorch's People

Contributors

ray075hl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.