Giter VIP home page Giter VIP logo

style-transform's Introduction

style-transform

neural style

https://github.com/jcjohnson/neural-style 这部分代码其实就是单图片的全局优化过程,也就是每次输入一张content图片矩阵A,一张style图片矩阵B,以及一个与A同等大小矩阵C(矩阵内容可以都为0.0001),之后将这三个矩阵输入VGG网络中,分别计算对应的loss,然后根据loss去优化矩阵C,使得C与A内容相近,C与B风格相近,如此循环,直至到达停止条件为止。其中VGG的权重是不变的,真正变化的只有C。

style-transform's People

Contributors

mjiansun 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.