Closed reiinakano closed 7 years ago
Did you install the festival properly? You need to install some default voices along with the festival to generate the utt files from the txt.
Hmm, I was able to build Festival, but am not sure how to install the default voices.
Download the voices from here http://festvox.org/packed/festival/2.4/voices/ and unzip them in your festival folder. You can check the installed voices in this location festival/lib/voices/
Thank you! I'll try it and update this issue.
Anyway, is there any instruction available on how to use my own wav files for state_align or phone_align?
You can follow the steps mentioned in this exercise to build your own voice http://www.speech.zone/exercises/build-your-own-dnn-voice/
I unzipped the festvox_kallpc16k.tar.gz voice and am able to find the voice in festival/lib/voices.
The warning of "no default voice" is now gone, but the error still persists.
mv: cannot stat 'lab/arctic_b0535.sl': No such file or directory
awk: etc/mapstatenames.awk:1: fatal: cannot open file `lab/arctic_b0535.slehmm' for reading (No such file or directory)
mv: cannot stat 'lab/arctic_b0536.sl': No such file or directory
awk: etc/mapstatenames.awk:1: fatal: cannot open file `lab/arctic_b0536.slehmm' for reading (No such file or directory)
mv: cannot stat 'lab/arctic_b0537.sl': No such file or directory
awk: etc/mapstatenames.awk:1: fatal: cannot open file `lab/arctic_b0537.slehmm' for reading (No such file or directory)
mv: cannot stat 'lab/arctic_b0538.sl': No such file or directory
awk: etc/mapstatenames.awk:1: fatal: cannot open file `lab/arctic_b0538.slehmm' for reading (No such file or directory)
mv: cannot stat 'lab/arctic_b0539.sl': No such file or directory
awk: etc/mapstatenames.awk:1: fatal: cannot open file `lab/arctic_b0539.slehmm' for reading (No such file or directory)
SIOD ERROR: could not open file /projects/festival/lib/dicts/cmu/cmulex.scm
closing a file left open: /home/ubuntu/pynb/TFplay/merlin/tools/festival/lib/voices/english/kal_diphone/festvox/kal_diphone.scm
closing a file left open: /home/ubuntu/pynb/TFplay/merlin/tools/festival/lib/init.scm
festival: fatal error exiting.
converting festival utts to labels...
cmuarctic.data cmu_us_slt_arctic config.cfg file_id_list.scp full-context-labels README.md run_aligner.sh setup.sh slt_wav slt_wav.zip
gawk: fatal: cannot open file `full-context-labels/tmp' for reading (No such file or directory)
gawk: fatal: cannot open file `full-context-labels/tmp' for reading (No such file or directory)
normalizing label files for merlin...
arctic_a0001.lab
Traceback (most recent call last):
File "/home/ubuntu/pynb/TFplay/merlin/misc/scripts/frontend/utils/normalize_lab_for_merlin.py", line 131, in <module>
normalize_label_files(in_lab_file, out_lab_file, label_style, write_time_stamps)
File "/home/ubuntu/pynb/TFplay/merlin/misc/scripts/frontend/utils/normalize_lab_for_merlin.py", line 35, in normalize_label_files
in_f = open(in_lab_file,'r')
IOError: [Errno 2] No such file or directory: 'full-context-labels/full/arctic_a0001.lab'
It looks like you installed the festival in this path "/home/ubuntu/pynb/TFplay/merlin/tools/festival/" but why is that it trying to load the cmulex.scm from this path?
SIOD ERROR: could not open file /projects/festival/lib/dicts/cmu/cmulex.scm
I actually have no clue. Is there some environment variable or config I should be setting?
UPDATE: I added cmulex.scm + all other required files to /home/ubuntu/pynb/TFplay/merlin/tools/festival/lib/dicts/cmu/cmulex.scm
. This worked. For some reason that doesn't make sense to me, /projects/ is an alias for path-to-here.
Good to know that you find the solution.
Is there a more comprehensive guide for using your own .wav files to generate alignment training labels?
I honestly have no clue how to make it work for my own data. The scripts in https://github.com/CSTR-Edinburgh/merlin/tree/master/misc/scripts/alignment/state_align and https://github.com/CSTR-Edinburgh/merlin/tree/master/misc/scripts/alignment/phone_align seem to be hardcoded just for cmu_arctic.
Also, I can't even run the default scripts properly on the hardcoded cmu_arctic data. For phone_aligner, it just errors with this traceback.
For state_aligner, here is the error
A full guide to using my own .wav files with Merlin would be appreciated.