Coder Social home page Coder Social logo

zf223669 / co-speech_gesture_generation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youngwoo-yoon/co-speech_gesture_generation

0.0 0.0 0.0 65 KB

This is an implementation of Robots learn social skills: End-to-end learning of co-speech gesture generation for humanoid robots.

Home Page: https://sites.google.com/view/youngwoo-yoon/projects/co-speech-gesture-generation

License: Other

Python 100.00%

co-speech_gesture_generation's Introduction

Co-Speech Gesture Generator

This is an implementation of Robots learn social skills: End-to-end learning of co-speech gesture generation for humanoid robots (Paper, Project Page)

The original paper used TED dataset, but, in this repository, we modified the code to use Trinity Speech-Gesture Dataset for GENEA Challenge 2020. The model is also changed to estimate rotation matrices for upper-body joints instead of estimating Cartesian coordinates.

Environment

The code was developed using python 3.6 on Ubuntu 18.04. Pytorch 1.3.1 was used, but the latest version would be okay.

How to run

  1. Install dependencies

    pip install -r requirements.txt
    
  2. Download the FastText vectors from here and put crawl-300d-2M-subword.bin to the resource folder (PROJECT_ROOT/resource/crawl-300d-2M-subword.bin). You may use the cache file instead of downloading the FastText vectors (> 5 GB). Put the cache file into the LMDB folder that will be created in the next step. The code automatically loads the cache file when it exists (see build_vocab function).

  3. Make LMDB

    cd scripts
    python trinity_data_to_lmdb.py [PATH_TO_TRINITY_DATASET]
    
  4. Update paths and parameters in PROJECT_ROOT/config/seq2seq.yml and run train.py

    python train.py --config=../config/seq2seq.yml
    
  5. Inference

    python inference.py [PATH_TO_MODEL] [PATH_TO_TRANSCRIPT]
    

    We share the model trained on the training set of the GENEA challenge 2020. Click here to download

License

Please see LICENSE.md

Citation

@INPROCEEDINGS{
  yoonICRA19,
  title={Robots Learn Social Skills: End-to-End Learning of Co-Speech Gesture Generation for Humanoid Robots},
  author={Yoon, Youngwoo and Ko, Woo-Ri and Jang, Minsu and Lee, Jaeyeon and Kim, Jaehong and Lee, Geehyuk},
  booktitle={Proc. of The International Conference in Robotics and Automation (ICRA)},
  year={2019}
}

co-speech_gesture_generation's People

Contributors

youngwoo-yoon 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.