Tacotron2: Please explain the Setup again elaborately

Created on 18 Aug 2018  路  5Comments  路  Source: NVIDIA/tacotron2

This is to the contributors of this repository and any other 3rd person who knows how to setup the repo. in one's machine till fully working and result stage. I am having some problem in 4th part of setup. Please help me out. Thanks in advance.

Update .wav paths: sed -i -- 's,DUMMY,ljs_dataset_folder/wavs,g' filelists/*.txt

    Alternatively, set load_mel_from_disk=True in hparams.py and update mel-spectrogram paths

Its coming like 'sed' is not recognized as an internal or external command, operable program or batch file.

Most helpful comment

@EuphoriaCelestial
the command will replace all DUMMY lines inside the filelists folder with ljs_dataset_folder/wavs.

Replace ljs_dataset_folder inside

sed -i -- 's,DUMMY,ljs_dataset_folder/wavs,g' filelists/*.txt

with the path to your LJSpeech-1.1 directory.

EDIT: This assumes your using Linux. Reply if you need Windows instructions. Windows is more complicated.

All 5 comments

My Bad .... Its done now. Used ubuntu .

please explain it again, I dont know what need to be changed accordingly

@EuphoriaCelestial
the command will replace all DUMMY lines inside the filelists folder with ljs_dataset_folder/wavs.

Replace ljs_dataset_folder inside

sed -i -- 's,DUMMY,ljs_dataset_folder/wavs,g' filelists/*.txt

with the path to your LJSpeech-1.1 directory.

EDIT: This assumes your using Linux. Reply if you need Windows instructions. Windows is more complicated.

@CookiePPP thank you! since the command only correct the file path in the filelists folder, I have done it using Text editor on Ubuntu. It will work right? No issue later on?

@EuphoriaCelestial
That should work yes.

Was this page helpful?
0 / 5 - 0 ratings