Code Monkey home page Code Monkey logo

msg-net's Introduction

Multi-style Generative Network for Real-time Transfer [arXiv] [project]
Hang Zhang, Kristin Dana
@article{zhang2017multistyle,
	title={Multi-style Generative Network for Real-time Transfer},
	author={Zhang, Hang and Dana, Kristin},
	journal={arXiv preprint arXiv:1703.06953},
	year={2017}
}

Installation

We also provide PyTorch implementation in this repo. Please install Torch7 with cuda and cudnn support. The code has been tested on Ubuntu 16.04 with Titan X Pascal and Maxwell.

luarocks install https://raw.githubusercontent.com/zhanghang1989/MSG-Net/master/texture-scm-1.rockspec

Test and Demo

  1. Clone the repo and download pre-trained models
    git clone [email protected]:zhanghang1989/MSG-Net.git
    cd MSG-Net/experiments
    bash models/download_models.sh 
  2. Web Camera Demo
    qlua webcam.lua
    
  3. Test on Image
    th test.lua -input_image images/content/venice-boat.jpg -image_size 1024
    eog stylized
    

[More Example Results]

Train Your Own Model

Please follow this tutorial to train a new model.

Release Timeline

  • 03/20/2017 we have released the demo video.
  • 03/24/2017 We have released ArXiv paper and test code with pre-trained models.
  • 04/09/2017 We have released the training code.
  • 04/24/2017 Please checkout our PyTorch implementation.

Acknowledgement

The code benefits from outstanding prior work and their implementations including:

msg-net's People

Contributors

zhanghang1989 avatar

Watchers

James Cloos 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.