Giter Club home page Giter Club logo

deepgestures_lasagne's Introduction

DeepGestures

This repository contains the original implementation of the paper Neverova et al., "ModDrop: adaptive multi-modal gesture recognition", IEEE TPAMI, 2016 (https://arxiv.org/abs/1501.00102).

Original Theano implementation by Natalia Neverova [email protected]

Re-implementation of DeepGestures using Lasagne by Dhanesh Ramachandram [email protected]

The code was tested with Theano 0.82 and Lasagne 0.2dev1 and Anaconda Python on Ubuntu 14.04 running CuDNN version 4.0

If you use this code in your research, please cite the original manuscript:

@artucle{moddrop, 
author={Natalia Neverova and Christian Wolf and Graham Taylor and Florian Nebout}, 
journal={IEEE Transactions on Pattern Analysis and Machine Intelligence}, 
title={ModDrop: Adaptive Multi-Modal Gesture Recognition}, 
year={2016}, 
volume={38}, 
number={8}, 
pages={1692-1706}
}

Prerequisites

  1. Bleeding-edge version of Theano Install using :
#!python
pip install --upgrade --no-deps git+git://github.com/Theano/Theano.git

  1. Bleeding edge version of Lasagne Install using :
#!python
pip install --upgrade --no-deps https://github.com/Lasagne/Lasagne/archive/master.zip

  1. CuDNN Download CuDNN v4 from NVIDIA website. Extract the library into a folder on your home directory. Then add the following lines in ~/.bash_profile
#!bash

export LD_LIBRARY_PATH=/path/to/cuda/lib64:$LD_LIBRARY_PATH
export CPATH=/path/to/cuda/include:$CPATH
export LIBRARY_PATH=/path/to/cuda:$LIBRARY_PATH

How to

  1. training_script.py is the main script to initiate training. In this file, modify the path to the Montalbano dataset accordingly. It should point toward a preprocessed version of the Montalbano dataset which can be found at http://hdl.handle.net/10864/9VNIK. We are working on cleaning up and releasing a set of scripts to provide the full pre-processing routines to convert the original data to our format. The original data is available at http://sunai.uoc.edu/chalearnLAP/ (Track 3: Gesture recognition).

  2. initiate the training by calling

#!python

python training_script.py modality step  

Replace modality with 'skeleton' for mocap, 'audio' for audio, 'videoFeat' for video,depth pretraining, 'video' for video-depth fusion/pre training and finally 'multimodal' for all modalities. skeleton and audio can be trained independently, but videoFeat must be trained, before video.

All other modalities must be pre-trained before multimodal.

'step' can be 2 or 4, but in practice, 4 gives best results.

Also, required for testing phase, a classifier called motionDetector must be called with step = 1 using the training script.

In the same folder as your source-code, there must be several subfolders created.

  1. subfolder 'filters' - used to store saved models. There is a file called skeleton_stats which must be present in the folder.
  2. subfolder 'ground_truth' which contains the ground_truth csv files used for testing.

deepgestures_lasagne's People

Contributors

nneverova avatar nvrv avatar gwtaylor 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.