Giter VIP home page Giter VIP logo

cross-lingual-voice-cloning's Introduction

Cross-Lingual-Voice-Cloning

DISCLAIMER :- Based on the paper Learning to Speak Fluently in a Foreign Language:Multilingual Speech Synthesis and Cross-Language Voice Cloning
Differences from original fork:

  • cleaned tensorflow requirement;
  • added russian language support;
  • various code improvements

Dataset Format

The model needs to be provided 2 text files 1 for the purpose of training and 1 for validation. Each line of the txt file should follow the following format :-

<path-to-wav-file>|<text-corresponding-to-speech-in-wav>|<speaker-no>|<lang-no>

<speaker-no> goes from 0 to n-1, where n is the number of speakers.

<lang-no> goes from 0 to m-1 , where m is the number of languages.
Lnaguage-id table:

  • en : 0
  • ru : 1

Hparams

hparams.training_files, hparams.validation_files need to be set to the path to the txt files of previous section.

hparams.n_speakers, hparams.dim_yo need to be changed to the number of speakers.

hparams.n_langs must be set to number of languages.

To change the languages, add/remove unicode characters in _letters variable of text/symbols.py .

Inference

For inference using the model , run clvc-infer-gh.ipynb with appropriate speaker and language number.

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.