GithubHelp home page GithubHelp logo

krishnadn / x-vector-pytorch Goto Github PK

View Code? Open in Web Editor NEW
97.0 5.0 25.0 88.43 MB

Implementation of the paper "Spoken Language Recognition using X-vectors" in Pytorch

Python 100.00%
x-vector x-vector-pytorch language-recognition language-identification speech

x-vector-pytorch's Introduction

x-vector-pytorch

This repo contains the implementation of the paper "Spoken Language Recognition using X-vectors" in Pytorch Paper: https://danielpovey.com/files/2018_odyssey_xvector_lid.pdf Tutorial : https://www.youtube.com/watch?v=8nZjiXEdMH0

Installation

I suggest you to install Anaconda3 in your system. First download Anancoda3 from https://docs.anaconda.com/anaconda/install/hashes/lin-3-64/

bash Anaconda2-2019.03-Linux-x86_64.sh

Clone the repo

https://github.com/KrishnaDN/x-vector-pytorch.git

Once you install anaconda3 successfully, install required packges using requirements.txt

pip iinstall -r requirements.txt

Create manifest files for training and testing

This step creates training and testing files.

python datasets.py --processed_data  /media/newhd/youtube_lid_data/download_data --meta_store_path meta/ 

Training

This steps starts training the X-vector model for language identification

python training_xvector.py --training_filepath meta/training.txt --testing_filepath meta/testing.txt --validation_filepath meta/validation.txt
                             --input_dim 40 --num_classes 8 --batch_size 32 --use_gpu True --num_epochs 100
                             

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. For any queries contact : [email protected]

License

MIT

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.