GithubHelp home page GithubHelp logo

mirgahney / nural_art Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.53 MB

Implementation of Artistic Style Transfer with Artificial Neural Network

License: GNU Affero General Public License v3.0

Jupyter Notebook 99.78% Python 0.22%

nural_art's Introduction

Nural_Art

Implementation of Image Style Transfer Using Convolutional Neural Networks.

In this paper, style transfer uses the features found in the 19-layer VGG Network, which is comprised of a series of convolutional and pooling layers, and a few fully-connected layers. In the image below, the convolutional layers are named by stack and their order in the stack. Conv_1_1 is the first convolutional layer that an image is passed through, in the first stack. Conv_2_1 is the first convolutional layer in the second stack. The deepest convolutional layer in the network is conv_5_4.

VGG_Conv_layers

Requirements :

  • Torch >= 0.04
  • Torchvision >= 0.2.1

To run the code:

python generate_images.py

The code will reads the images from Images folder and the result will be saved in the same folder under name result.

Sample of the result:

Octopus with delaunay Space with the starry night Space with screem The result obtained by running the code with content_weight = 1 and style_weight = 1e6 on several content images and with a famous style paints.

nural_art's People

Contributors

mirgahney avatar

Stargazers

Stacey Reiman avatar

Watchers

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