Skip to content
DeepGRU: Deep Gesture Recognition Utility
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data/sbu Initial commit Oct 9, 2019
dataset
images Initial commit Oct 9, 2019
utils
.gitignore Initial commit Oct 9, 2019
LICENSE.md Initial commit Oct 9, 2019
README.md
main.py Initial commit Oct 9, 2019
model.py
requirements.txt Initial commit Oct 9, 2019

README.md

DeepGRU: Deep Gesture Recognition Utility

Official PyTorch implementation of DeepGRU.

Getting Started

I've tried my best to make the code work out-of-the-box, and provide an extensible framework to ease experimentation.

Prerequisites

The list of requirements for this project is extremely short:

  • Python v3.5+
  • PyTorch v1.2+
  • Numpy (will be installed along PyTorch)
  • (Optional) CUDA toolkit with an NVIDIA GPU (for faster training, although CPU-only training still works)

All the requirements are included in requirements.txt.

Running the Code:

Running the code involves 3 easy steps:

  1. Obtain the sources
git clone https://github.com/Maghoumi/DeepGRU.git
cd DeepGRU
  1. Install the dependencies (make sure the correct pip is used)
pip install -r requirements.txt
  1. Run the code (make sure the correct python (v3.5+) is used)
python main.py

The above code will download the SBU Kinect Interaction dataset and run the standard 5-fold cross-validation experiments. The dataset will be downloaded to DeepGRU/data and the run results will be dumped under DeepGRU/logs.

The training progress will be showed in the standard output, and you should see an average recognition accuracy of about 95.5% if all folds run to completion.

A Few Notes

Omission of GPSR Implementation

At the time of writing, GPSR is patented in the United States and its inclusion in any project would impose a restrictive license on any open source code. As such, I've decided to omit GPSR from this repository to allow unrestricted usage of DeepGRU. You can implement GPSR yourself by referring to the pseudocode in the appendix of the original paper.

Result Reproduction

We used PyTorch v0.4 in our original experiments, and we encountered slightly different results with more recent versions of PyTorch (even with the same random seeds). The results also vary depending on what GPU is used for training. As mentioned above, our implementation of GPSR is omitted from this repository due to licensing issues. Considering all these, the exact results of our paper may not be easily reproducible.

Citing

If you find this code or our paper useful, kindly please cite our work:

@article{maghoumi2018deepgru,
  title={DeepGRU: Deep Gesture Recognition Utility},
  author={Maghoumi, Mehran and LaViola Jr, Joseph J},
  journal={arXiv preprint arXiv:1810.12514},
  year={2018}
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

You can’t perform that action at this time.