Skip to content
프로젝트

소개

A PyTorch implementation of Style Tokens: Unsupervised Style Modeling, Control and Transfer in End-to-End Speech Synthesis

AI 및 머신러닝

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

GST-Tacotron-Pytorch

A PyTorch implementation of Style Tokens: Unsupervised Style Modeling, Control and Transfer in End-to-End Speech Synthesis

model

Update

Add support for blizzard dataset.

Requirements

pip3 install -r requirements.txt

File structure

  • Hyperparameters.py --- hyperparameters
  • Network.py --- encoder and decoder
  • Modules.py --- some modules for tacotron
  • Loss.py --- loss function
  • Data.py --- dataset loader
  • utils.py --- some util functions for data I/O
  • Synthesis.py --- speech generation

How to train

  • Download a multispeaker dataset
  • Preprocess your data and implement your get_XX_data function in Data.py
  • Set hyperparameters in Hyperparameters.py
  • Make a directory named log as follow:
--- log
|    |
|    --- log[log_number]
|
--- code
     |
     --- Tacotron
             |
             --- train.py
             |
             --- Network.py
             |
           ......
  • Run train.py
python3 train.py [log_number] [dataset_size] [start_epoch]

[log_number]: the log directory number
[dataset_size]: int or all
[start_epoch]: which epoch start to train (0 if start from scratch )

for example:
python3 train.py 0 all 0

How to generate wav

Rungenerate.py. Replace the text in generate.py with any chinese sentences as you like before running

The pretained model provided is trained on Chinese dataset, so it only supports chinese now.

Star History

관련 프로젝트 살펴보기

불러오는 중…