Giter Site home page Giter Site logo

styletts-vc-japanese's Introduction

StyleTTS-VC for Japanese

Overview

StyleTTS-VC model is modified from the repo for Japanese.

Pre-requisites

  1. Python >= 3.7
  2. Clone this repository:
git clone https://github.com/QuyAnh2005/StyleTTS-VC-Japanese.git
cd StyleTTS-VC-Japanese
  1. Install python requirements:
pip install -r requirements.txt
  1. Dataset Dataset is downloaded from

and locate at dataset folder.

Preprocessing

The pretrained text aligner and pitch extractor models are provided under the Utils folder. Both the text aligner and pitch extractor models are trained with melspectrograms preprocessed using meldataset.py.

You can edit the meldataset.py with your own melspectrogram preprocessing, but the provided pretrained models will no longer work. You will need to train your own text aligner and pitch extractor with the new preprocessing.

The code for training new text aligner model is available here and that for training new pitch extractor models is available here.

The data list format needs to be filename.wav|transcription|speaker, see val_list.txt as an example. The speaker information is needed in order to perform speaker-dependent adversarial training.

To convert data into phonemes before training. Run

python preprocess.py

Training

First stage training:

python train_first.py --config_path ./Configs/config.yml

Second stage training:

python train_second.py --config_path ./Configs/config.yml

Pretrained models are available at here.

Inference

Please refer to inference.ipynb for details.

The pretrained StyleTTS-VC on Japanese dataset and Hifi-GAN on LibriTTS corpus in 24 kHz can be downloaded at StyleTTS-VC Link and Hifi-GAN Link.

Please unzip to Models and Vocoder respectivey and run each cell in the notebook.

Run app.py to see demo using gradio.

styletts-vc-japanese's People

Contributors

quyanh2005 avatar

Watchers

 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.