Giter VIP home page Giter VIP logo

gen-dmcca's Introduction

Multiview Shared Subspace Learning for Speakers and Speech Commands

Generalized Deep Multiset Canonical Correlation Analysis for Multiview Learning of Speech Representations

Package Requirements

All development was done in Python 2.7

scipy==1.0.0
numpy==1.11.0
Keras==2.2.4
pandas==0.22.0
Theano==1.0.4
matplotlib==2.2.2
resampy==0.2.0
tqdm==4.11.2
scikit_learn==0.20.3
utils==0.9.0

Proposed Approach:

We propose a novel direction of multiview learning to obtain speech representations in presence of multiple known sources of variability. We constrain one mode of variability as multiple views and learn features that are discriminative in the other mode. A schematic to the approach is shown below:

drawing

Implementation Steps:

  1. Download Speech Commands Dataset as follows:
cd ./data && wget http://download.tensorflow.org/data/speech_commands_v0.01.tar.gz && tar -xvzf speech_commands_v0.01.tar.gz
  1. Extract log-mel features (using defaults params in ./audioset_scripts/vggish_params.py; edit these to replicate experiments in the paper)
python extract_logmel_features.py

  1. Learn speaker-invariant representations of speech commands for Command-ID task
python train_speech_commands.py
  1. Learn command-invariant representations of speakers for Speaker-ID task
python train_speaker_embeddings_open_set.py
  1. Do inference after the model is trained; See example inference code:
python test_speaker_embeddings_open_set.py

This last script should generate SVM predictions, as well as t-SNE embeddings for the shared representations learnt

gen-dmcca's People

Contributors

krsna6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.