Giter Site home page Giter Site logo

middle_out_backend's Introduction

PyPiper

For Hack the North 2018 my team Marcel O'neil, Kevin Shen, Michael Jiang, and I created PyPiper, a service that converts sketches of a scene into a complete animation.

How it works

An animator would draw keyframes of a scene (ideally a couple of seconds apart) and then send them off to our servers. Next, we would take these frames and run it through a neural network to predict the frames in between these keyframes. Now that we have the outlines for each frame, we would then run a neural art mixer on the drawings to "colour in" the generated frames.

Bam! we have our animation!

Our program is called PyPiper because our neural network uses a revolutionary "Middle-Out" technique inspired by a paper from Nvidia. We realized that we could predict intermediary frames by dropping every other frame from our input and use the dropped frames as the target variable. Using the two frames adjacent to the dropped frames, our U-net pipelines these two images to generate a new one. We heavily modified Voxel-Flow's Tensorflow architecture for our task. For those of you who are wondering, we are simply using an L1 loss as it has been shown to produce brilliant results.

Steps for improvement

The number one thing we need to do is gather more varied data. Our current model trained on cut clips from the youtube channel TomSka. Since their videos contained stick figures that were similar enough to keyframes, we thought that they would perfect for our use case. However, we discovered that most of the images were quite still so our network had trouble capturing the "motion" in the animation.

Interested in the front-end? Take a look at it here.

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.