Giter VIP home page Giter VIP logo

neural-style-transfer-webdnn's Introduction

Neural Style Transfer

Example of Neural Style Transfer [Johnson+, 2016] with WebDNN

Neural Style Transfer

You can download pre-trained model from

How to Run

  1. Install WebDNN (see document)

  2. Clone gafr/chainer-fast-neuralstyle-models at root directory of this repository. Note: Download of about 200MB model is needed.

    $ git clone https://github.com/gafr/chainer-fast-neuralstyle-models
  3. Convert model

    $ python convert.py --model kanagawa --backend webgpu

    --model option selects the style. For details, see python convert.py -h

  4. Access to index.html with your browser

Note

This example use Placeholder feature in WebDNN, which supports specifying tensor shape at runtime. However, only WebGPU and WebAssembly backend supports this feature and WebGL backend does NOT support.

License

MIT License, 2017, Yuichiro Kikura[email protected]

neural-style-transfer-webdnn's People

Contributors

kiikurage avatar

Stargazers

shadowkun avatar Nikita Turkin avatar Antonio Gómez-Maldonado avatar Udon avatar Daiki Higurashi avatar

Watchers

James Cloos avatar  avatar

Forkers

shadowkun

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.