Giter Club home page Giter Club logo

neural-style-transfer-pytorch's Introduction

Neural-Style-Transfer-pytorch

Pytorch implementation of Image Style Transfer Using Convolutional Neural Networks. It is my first paper implementation so it would be quite awkward. I recommend you use it only for a reference. The Tutorial Code was very helpful for me to complete my code.

To-do

  • Image Style Transfer Using Convolutional Neural Networks (2016) [Paper]
  • Combining Markov Random Fields and Convolutional Neural Networks for Image Synthesis (2016) [Paper]
  • Perceptual Losses for Real-Time Style Transfer and Super-Resolution (2016) [Paper]
  • Fast Patch-based Style Transfer of Arbitrary Style (2016) [Paper]
  • A Learned Representation for Artistic Style (2017) [Paper]
  • Real-Time Neural Style Transfer for Videos (2017) [Paper]
  • Stereoscopic Neural Style Transfer (2018) [Paper]
  • Separating Style and Content for Generalized Style Transfer (2018) [Paper]

Usage

To train a model with images you want to merge:

$ python train.py --c_weight=1 \
                  --s_weight=100000 \
                  --content_img='images/dancing.jpg' \
                  --style_img='images/picasso.jpg' \
                  --size=128 --steps=300

To see all training options, run:

$ python train.py --help

which will print:

usage: train.py [-h] [--content_img CONTENT_IMG] [--style_img STYLE_IMG]
                [--size SIZE] [--steps STEPS] [--c_weight C_WEIGHT]
                [--s_weight S_WEIGHT]

optional arguments:
-h, --help                  show this help message and exit
--content_img CONTENT_IMG
--style_img STYLE_IMG
--size SIZE                 if you want to get more clear pictures, increase the
                            size
--steps STEPS
--c_weight C_WEIGHT         weighting factor for content reconstruction
--s_weight S_WEIGHT         weighting factor for style reconstruction

Result

Result0 Result1 Result2 Result3 Result4

Poster Presentation

Author

Sooyoung Moon / @symoon94

neural-style-transfer-pytorch's People

Contributors

carpedm20 avatar litcoderr avatar symoon94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

neural-style-transfer-pytorch's Issues

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.