Skip to content

Instantly share code, notes, and snippets.

@kalaspuffar
Created June 20, 2020 14:15
Show Gist options
  • Save kalaspuffar/93fad3eddddaa2db8f2584773f5b18a3 to your computer and use it in GitHub Desktop.
Save kalaspuffar/93fad3eddddaa2db8f2584773f5b18a3 to your computer and use it in GitHub Desktop.
Download and extract the LJ Speech dataset
Clone this repo: git clone https://github.com/NVIDIA/tacotron2.git
CD into this repo: cd tacotron2
Initialize submodule: git submodule init; git submodule update
Update .wav paths: sed -i -- 's,DUMMY,ljs_dataset_folder/wavs,g' filelists/*.txt
Install PyTorch 1.0
pip install torch===1.5.1 torchvision===0.6.1 -f https://download.pytorch.org/whl/torch_stable.html
pip install numpy==1.16.4
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --no-cache-dir .
Install python requirements: pip install -r requirements.txt
python train.py --output_directory=outdir --log_directory=logdir --n_gpus=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment