GithubHelp home page GithubHelp logo

hansonrobotics / evenet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elggem/evenet

5.0 6.0 2.0 664 KB

A TensorFlow implementation of DeepMind's WaveNet paper for generation of facial animations.

License: MIT License

Shell 3.12% Python 96.88%

evenet's Introduction

EveNet: Expression of Emotion and Visimes Network

Build Status

This is a fork of ibab's excellent implementation of WaveNet. Here we are implementing changes for the generation of facial animations.

Experiments

Network with softmax output layer

Authors of wavenet stated that modeling the conditional distribution:

eq1

with softmax distribution tends to work better than some of previous modeling, such as mixture density network or mixture of conditional Gaussian scale mixtures.

This approach models each shape key values of each frame to softmax probability distribution of 11 classes. The probability values are calculated with the method explained here.

Here is github branch for this Experiment.

Shape key sampling

This approach is variant of approach adopted in pixelcnn, to extend the dependencies among pixels to color channels. In pixelrnn paper the author stated the joint probability for pixel sampling is

equation,

Where, xi is ith pixel.
They also extend this pixel dependencies to color channels as follows:-

img

If we use indexes for color channels(assign 1 to R index, 2 to G index and 3 to B index), the joint probability p(x) now can be written as
eq4

This type of joint probability can be applied to shape key sampling. Now the above joint probability can be rewritten for shape key sampling as
eq6
where S is number of samples, N is number of shape keys in single frame, xi is ith frame and xi,j is jth shape key of ith frame.

Code implementation for this experiment is found on github branch.

Requirements

TensorFlow needs to be installed before running the training script. Code is tested on TensorFlow version 1.0.1 for Python 2.7 and Python 3.5.

In addition, librosa must be installed for reading and writing audio.

To install the required python packages, run

pip install -r requirements.txt

For GPU support, use

pip install -r requirements_gpu.txt

Running tests

Install the test requirements

pip install -r requirements_test.txt

Run the test suite

./ci/test.sh

Related projects

evenet's People

Contributors

akademi4eg avatar amebel avatar belevtsoff avatar code-terminator avatar elggem avatar fehiepsi avatar fjolnir-dvorak avatar genekogan avatar huyouare avatar ibab avatar jckmtu avatar jfsantos avatar jrao1 avatar jyegerlehner avatar koz4k avatar lemonzi avatar macsj200 avatar maxhodak avatar mchinen avatar mecab avatar mortont avatar multivac61 avatar nakosung avatar pineking avatar pkhorrami4 avatar prajitr avatar robinsloan avatar tomlepaine avatar ymitiku avatar zectbynmo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

evenet's Issues

Quantify the accuracy of the model output

Explore approaches to quantify the accuracy of the model output.

  • Define a a standard panel of users that will provide feedback
  • Define scoring method
  • Validate score with existing example output

Create Training Dataset

  • Identify Director, actors and studio
  • Develop scripts for actors
  • Obtain cameras
  • Film 3D movies of these different emotions
  • Edit footage
  • Label movies

Evaluate alternative wavenet architectures

These alternatives should be considered using 2 criteria:

  • accuracy
  • training and inference times
  • Research Approaches
  • Document Pros and Cons
  • Build Prototype of selected architectures

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.