hecko
04/20/2022, 10:15 AMmildrefusal
04/20/2022, 10:17 AMnvidia-smi or the google drive mount?mildrefusal
04/20/2022, 10:17 AMmildrefusal
04/20/2022, 10:17 AMGPU 0: Tesla K80 (UUID: GPU-1f6664c7-10c0-d4d1-5fa1-2e2e74282edb)hecko
04/20/2022, 10:17 AMhecko
04/20/2022, 10:18 AMmildrefusal
04/20/2022, 10:18 AMmerged.dict.txthecko
04/20/2022, 10:22 AMhecko
04/20/2022, 10:22 AMhecko
04/20/2022, 10:23 AM!pip install --upgrade gdown
and run it againmildrefusal
04/20/2022, 10:25 AMApplying cmudict patch
Downloading...
From: https://drive.google.com/uc?id=1gatrzuyxEcYeUnd8eSB1zmtnnHBJi8tn
To: /content/tacotron2-cmudict-patch.zip
100%|██████████| 1.73M/1.73M [00:00<00:00, 27.5MB/s]Archive: /content/tacotron2-cmudict-patch.zip
inflating: /content/tacotron2/text/cleaners.py
inflating: /content/tacotron2/text/cmudict.py
inflating: /content/tacotron2/text/LICENSE
inflating: /content/tacotron2/text/merged.dict.txt
inflating: /content/tacotron2/text/README
inflating: /content/tacotron2/text/__init__.pymildrefusal
04/20/2022, 10:26 AM!pip install --upgrade gdown but I've put that there anyway.mildrefusal
04/20/2022, 10:27 AMprint(text.sequence_to_text(text.text_to_sequence("We must capture an Earth creature, K 9, and return it back with us to Mars.", ["cmudict_cleaners", "english_cleaners"]
outputs this
/content/tacotron2
{W IY1} {M AH1 S T} {K AE1 P CH ER0} {AH0 N} {ER1 TH} {K R IY1 CH ER0} , {K EY1} nine , {AE1 N D} {R IY0 T ER1 N} {IH1 T} {B AE1 K} {W IH1 TH} {AH1 S} {T AH0} {M AA1 R Z} .hecko
04/20/2022, 10:30 AMhecko
04/20/2022, 10:31 AMnine is a funky bug that i'll need to fixhecko
04/20/2022, 10:31 AMhecko
04/20/2022, 10:31 AMmildrefusal
04/20/2022, 10:32 AMmerged.dict.txt fails to download. do you know what this file is?hecko
04/20/2022, 10:35 AMhecko
04/20/2022, 10:35 AMmildrefusal
04/20/2022, 10:38 AM#@markdown ## **4** Check for missing files
# ---- Replace .wav with .npy in filelists ----
!sed -i -- 's,.wav|,.npy|,g' {hparams.training_files}; sed -i -- 's,.wav|,.npy|,g' {hparams.validation_files}
check_dataset(hparams)
Checking Training Files
[WARNING] does not exist.
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-13-959e2a02f2c3> in <module>()
4 get_ipython().system("sed -i -- 's,.wav|,.npy|,g' {hparams.training_files}; sed -i -- 's,.wav|,.npy|,g' {hparams.validation_files}")
5
----> 6 check_dataset(hparams)
1 frames
<ipython-input-7-443c4424a8da> in check_dataset(hparams)
497 print("Checking Training Files")
498 audiopaths_and_text = load_filepaths_and_text(hparams.training_files) # get split lines from training_files text file.
--> 499 check_arr(audiopaths_and_text)
500 print("Checking Validation Files")
501 audiopaths_and_text = load_filepaths_and_text(hparams.validation_files) # get split lines from validation_files text file.
<ipython-input-7-443c4424a8da> in check_arr(filelist_arr)
485 if (not os.path.exists(file[0])):
486 print("|".join(file), "\n[WARNING] does not exist.")
--> 487 if len(file[1]) < 3:
488 print("|".join(file), "\n[info] has no/very little text.")
489 if not ((file[1].strip())[-1] in r"!?,.;:"):
IndexError: list index out of rangehecko
04/20/2022, 10:58 AMmildrefusal
04/20/2022, 11:24 AMmildrefusal
04/20/2022, 11:25 AMhecko
04/20/2022, 11:25 AMhecko
04/20/2022, 11:26 AMmildrefusal
04/20/2022, 11:29 AMhecko
04/20/2022, 11:29 AMhecko
04/20/2022, 11:30 AMhecko
04/20/2022, 11:31 AM