GithubHelp home page GithubHelp logo

turntaking's Introduction

Multimodal Voice Activity Prediction Model for Turn-taking

Model training for

Installation

  • Create conda env: conda create -n turntaking python=3.11
    • source env: conda source turntaking
  • PyTorch: conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
  • Dependencies:
    • Install Cython: pip install cython
    • Install requirements: pip install -r requirements.txt
  • Install turntaking:
    • cd to root directory and run: pip install -e .

Set Up Datasets

  • WARNING: Requires NoXi Database data.
  • Place the file in any directory as follows
  .
  ├──noxi
  │  ├── Augsburg_01
  │  │   ├── audio_expert.wav
  │  │   ├── audio_mix.wav
  │  │   ├── audio_novice.wav
  │  │   ├── non_varbal_expert.csv
  │  │   ├── non_varbal_novice.csv
  │  │   ├── vad_expert.txt
  │  │   └── vad_novice.txt
  │  ├── Augsburg_02
  │  │   ├── audio_expert.wav
  │  │   ├── audio_mix.wav
  │  │   ├── audio_novice.wav
  │  │   ├── non_varbal_expert.csv
  │  │   ├── non_varbal_novice.csv
  │  │   ├── vad_expert.txt
  │  │   └── vad_novice.txt
    ...
  • Rewrite EXTRACTED_PATH in turntaking/dataload/dataset/noxi/noxi.py and Rewrite AUDIO_DIR and MULTIMODAL_DIR in /turntaking/dataload/dataset/noxi/__init__.py.

Train and Test

  1. Rewriting Model Training Conditions The training conditions can be changed by rewriting turntaking/conf/config.yaml. The model can be changed by rewriting turntaking/conf/model/model.yaml.

Refer to the following image for the corresponding module name of the model. Image 1 Image 2 Image 3

  1. Model Training
python turntaking/train.py
  1. Test
python turntaking/test.py

Citation

TBA

turntaking's People

Contributors

kazuyo000207 avatar

Stargazers

 avatar Junhyeok Kim avatar Tim Wibiral avatar Vladislav Maraev avatar  avatar

Watchers

Seitaro Shinagawa avatar Katsuhito Sudoh 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.