Montreal-Forced-Aligner
Montreal-Forced-Aligner copied to clipboard
[BUG]error on g2p train
I downgrade baumwelch to version 0.3.6, but got this error. The content of baumwelch.0.log is: baumwelchrandomize: error while loading shared libraries: libfst.so.24: cannot open shared object file: No such file or directory
Debugging checklist
[ ] Have you updated to latest MFA version? yes, I use the version 2.0.0 rc3
[ ] Have you tried rerunning the command with the --clean
flag? yes
Describe the issue
PyniniAlignmentError: The following Pynini alignment jobs encountered errors: 1 (RandomStart(idx=1, seed=7577,
g_path='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p', train_opts=['--batch_size=800',
'--delta=0.0009765625', '--fst_default_cache_gc=false', '--lr=1.0', '--max_iters=10']), Exception(['Traceback (most
recent call last):\n', ' File
"/home/midea/anaconda3/envs/mfa/lib/python3.9/site-packages/montreal_forced_aligner/g2p/trainer.py", line 119, in
run\n subprocess.check_call(cmd, stderr=log_file)\n', ' File
"/home/midea/anaconda3/envs/mfa/lib/python3.9/subprocess.py", line 373, in check_call\n raise
CalledProcessError(retcode, cmd)\n', "subprocess.CalledProcessError: Command '['baumwelchrandomize', '--seed=7577',
'/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/c.fst',
'/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/c-07577.fst']' returned non-zero exit status
127.\n"])) 2 (RandomStart(idx=2, seed=2394,
g_path='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p', train_opts=['--batch_size=800',
'--delta=0.0009765625', '--fst_default_cache_gc=false', '--lr=1.0', '--max_iters=10']), Exception(['Traceback (most
recent call last):\n', ' File
"/home/midea/anaconda3/envs/mfa/lib/python3.9/site-packages/montreal_forced_aligner/g2p/trainer.py", line 119, in
run\n subprocess.check_call(cmd, stderr=log_file)\n', ' File
"/home/midea/anaconda3/envs/mfa/lib/python3.9/subprocess.py", line 373, in check_call\n raise
CalledProcessError(retcode, cmd)\n', "subprocess.CalledProcessError: Command '['baumwelchrandomize', '--seed=2394',
'/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/c.fst',
'/home/midea/Documents/MFA/my_dict_pynini_train_g2p/pynini_train_g2p/c-02394.fst']' returned non-zero exit status
127.\n"]))
For Reproducing your issue Please fill out the following:
- Corpus structure
- What language is the corpus in? mandarin
- How many files/speakers? 1
- Are you using lab files or TextGrid files for input? lab
- Dictionary
- Are you using a dictionary from MFA? If so, which one? no
- If it's a custom dictionary, what is the phoneset? pinyin to globalphone
- Acoustic model
- If you're using an acoustic model, is it one download through MFA? If so, which one? no
- If it's a model you've trained, what data was it trained on?
Log file
Please attach the log file for the run that encountered an error (by default these will be stored in ~/Documents/MFA
).
Desktop (please complete the following information):
- OS: [e.g. Windows, OSX, Linux]
- Version [e.g. MacOSX 10.15, Ubuntu 20.04, Windows 10, etc]
- Any other details about the setup (Cloud, Docker, etc)
Additional context Add any other context about the problem here.