Git Product home page Git Product logo

tacotron-3's Introduction

Tacotron-2

Tensorflow implementation of DeepMind's Tacotron-2 (without wavenet). A deep neural network architecture described in this paper: Natural TTS synthesis by conditioning Wavenet on MEL spectogram predictions

Repository Structure:

Tacotron-2
├── datasets
├── logs-Tacotron2	(2)
│   ├── eval-dir
│   │ 	├── plots
│   │	└── wavs
│   ├── mel-spectrograms
│   ├── plots
│   ├── pretrained
│   ├── metas
│   └── wavs
├── papers
├─|
│ ├── models
│ └── utils
├── synth_output	(3)
│   ├── eval
│   ├── gta
│   ├── logs-eval
│   │   ├── plots
│   │   └── wavs
│   └── natural
├── train_data	(1)
│   ├── 1.npy
│   ├── 2.npy
│   ├── train.txt

The previous tree shows the current state of the repository (separate training, one step at a time).

  • Step (0): Get your dataset and modify datasets/preprocessor.py -> "build_from_path" function.
  • Step (1): Preprocess your data. This will give you the train_data folder.
  • Step (2): Train your Tacotron model. Yields the logs-Tacotron2 folder.
  • Step (3): Synthesize/Evaluate the Tacotron model. Gives the synth_output folder.

Model Architecture:

How to start

  • Machine Setup:

First, you need to have python 3 installed along with Tensorflow.

Next, you need to install some Linux dependencies to ensure audio libraries work properly:

apt-get install -y libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg libav-tools

Finally, you can install the requirements. If you are an Anaconda user: (else replace pip with pip3 and python with python3)

pip install -r requirements.txt

Hparams setting:

Before proceeding, you must pick the hyperparameters that suit best your needs. While it is possible to change the hyper parameters from command line during preprocessing/training.

Preprocessing

Before running the following steps, please make sure you are inside Tacotron-2 folder

cd Tacotron-2

Preprocessing can then be started using:

python preprocess.py

Training:

To train both models sequentially (one after the other):

python train.py

checkpoints will be made each 5000 steps and stored under logs-Tacotron2 folder.

Synthesis

To synthesize audio in an End-to-End (text to audio):

python synthesize.py

References and Resources:

tacotron-3's People

Contributors

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