joannahong / Lip2Wav-pytorch

a PyTorch implementation of Lip2Wav
48 stars 11 forks source link
lip2wav lip2wav-pytorch tacotron2 tacotron2-pytorch

Overview

This repository provides a PyTorch implementation of Lip2Wav.

Notice

I have tried to match official implementation as much as possible, but it may have some mistakes, so please be careful of using this implementation. Also, feel free to tell me any suggestion for this repository. Thank you!

Requirements

Datasets

You can download datasets from the original Lip2Wav repository, same format of dataset directories is used. Please preprocess first following steps listed in the original repository.

Training

Inference

Pretrained Model

Pretrained model of Chemistry Lectures is only available now. You can download the model here.

Results

You can find an example test result in results folder. The following figure shows the attention alignment(left), the test result from postnet(right top), and the ground truth Mel spectrogram(right bottom).

image

Acknowledgements

This repository is modified from the original Lip2Wav and highly based on Tacotron2-Pytorch. I am so thankful for these great codes.