CSTR-Edinburgh / merlin

This is now the official location of the Merlin project.
http://www.cstr.ed.ac.uk/projects/merlin/
Apache License 2.0
1.3k stars 441 forks source link

Preparing Labels Error #519

Open DinithiUPM opened 3 years ago

DinithiUPM commented 3 years ago

I got following error while I'm preparing labels for Sinhala language dataset. .... s2012.lab s2013.lab s2014.lab forced-alignment using HTK tools... ---preparing envrionment ---checking data ---extracting features

Modified for HTS

USAGE: HCopy [options] src [ + src ...] tgt ...

Option Default

-a i Use level i labels 1 -e t End copy at time t EOF -i mlf Save labels to mlf s null -l dir Output target label files to dir current -m t Set margin of t around x/n segs 0 -n i [j] Extract i'th [to j'th] label off -s t Start copy at time t 0 -t n Set trace line width to n 70 -x s [n] Extract [n'th occ of] label s off -A Print command line arguments off -C cf Set config file to cf default -D Display configuration variables off -F fmt Set source data format to fmt as config -G fmt Set source label format to fmt as config -I mlf Load master label file mlf -L dir Set input label (or net) dir current -O Set target data format to fmt as config -P Set target label format to fmt as config -S f Set script file to f none -T N Set trace flags to N 0 -V Print version information off -X ext Set input label (or net) file ext lab Sat Jan 16 10:09:14 2021 ---feature_normalisation Sat Jan 16 10:09:14 2021 ---making proto ### ERROR [+2019] HCompV: Training data file name expected FATAL ERROR - Terminating program /home/dinithi/merlin/tools/bin/htk/HCompV Traceback (most recent call last): File "/home/dinithi/merlin/misc/scripts/alignment/state_align/forced_alignment.py", line 432, in aligner.prepare_training(file_id_list_name, wav_dir, lab_dir, work_real_dir, multiple_speaker) File "/home/dinithi/merlin/misc/scripts/alignment/state_align/forced_alignment.py", line 264, in prepare_training self._make_proto() File "/home/dinithi/merlin/misc/scripts/alignment/state_align/forced_alignment.py", line 62, in _make_proto '-M', self.cur_dir, self.proto]) File "/home/dinithi/anaconda3/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/home/dinithi/merlin/tools/bin/htk/HCompV', '-f', '0.01', '-C', '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/config/cfg', '-S', '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/config/train.scp', '-M', '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/model/hmm0', '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/config/proto']' returned non-zero exit status 227. ls: cannot access '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/label_state_align': No such file or directory Force-alignment unsucessful!! Please check /home/dinithi/merlin/misc/scripts/alignment/state_align/forced_alignment.py Copying labels to duration and acoustic data directories... cp: cannot stat '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/label_state_align': No such file or directory cp: cannot stat '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/label_state_align': No such file or directory ls: cannot access '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/label_state_align': No such file or directory ls: cannot access '/home/dinithi/merlin/egs/build_your_own_voice/s1/database/Ama/labels/label_state_align': No such file or directory done...!

I have bold the error. Please help me with this.