Coder Social home page Coder Social logo

charlottecuc / semi-tts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ttaoretw/semi-tts

0.0 1.0 0.0 2.26 MB

Semi-supervised Learning for Multi-speaker Text-to-speech Synthesis Using Discrete Speech Representation

License: MIT License

Python 100.00%

semi-tts's Introduction

Semi-supervised TTS

Semi-supervised Learning for Multi-speaker Text-to-speech Synthesis Using Discrete Speech Representation

Data

Prepare data

Download VCTK and LJSpeech and put it into data/audio-corpus. Specifically, waves from LJSpeech should be in data/audio-corpus/lj and waves from speaker p225 of VCTK should be in data/audio-corpus/p225, etc.. The data partition is specified in data/partition_tables/<partition-table.csv>. The phoneme transcription of each wave file is in data/map_tables/lj_vctk_g2p.csv.

For members in NTU speech lab, the audio-corpus could be downloaded from /groups/public/ttao/audio-corpus.zip.

Audio preprocessing

The hyperparameter for audio features could be modified in config/<config.yaml>. The audio preprocessing code is in src/audio.py.

Model

To adjust the model hyperparameters or learning rate, please modify the configure file in config/<config.yaml>.

Running

Train from scratch

python main.py --config config/<config.yaml> --njobs <num-workers>

Continue training

python main.py --config config/<config.yaml>\
               --njobs <num-workers>\
               --load <checkpoint-path>

The training log could be found in directory log/.

For members in NTU speech lab, the checkpoints could be downloaded from /groups/public/ttao/semi-tts-ckpt.zip.

Inference

python main.py --gen-specgram\
               --config config/<config.yaml>\
               --njobs <num-workers>\
               --load <checkpoint-path>\
               --logdir <output-directory>

Reference

Citation

@inproceedings{liu2020towards,
  title={Towards unsupervised speech recognition and synthesis with quantized speech representation learning},
  author={Liu, Alexander H and Tu, Tao and Lee, Hung-yi and Lee, Lin-shan},
  booktitle={ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={7259--7263},
  year={2020},
  organization={IEEE}
}

@article{tu2020semi,
  title={Semi-supervised Learning for Multi-speaker Text-to-speech Synthesis Using Discrete Speech Representation},
  author={Tu, Tao and Chen, Yuan-Jui and Liu, Alexander H and Lee, Hung-yi},
  journal={arXiv preprint arXiv:2005.08024},
  year={2020}
}

semi-tts's People

Contributors

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