From (https://githubhot.com/repo/MontrealCorpusTools/Montreal-Forced-Aligner/issues/401), I konw to downgrade the version of baumwelch to 0.3.6 to solve this error, but the command: conda install baumwelch=0.3.6 doesn't work because the version baumwelch=0.3.6 is not in conda (only baumwelch=0.3.7 in conda).
So I do not know how to install baumwelch=0.3.6 in conda. Hope to get an answer. Thanks a lot!
I use the version 2.0.0 rc3
Debugging checklist
[ ] Have you updated to latest MFA version?
[ ] Have you tried rerunning the command with the --clean flag?
Describe the issue
PyniniAlignmentError: The following Pynini alignment jobs encountered errors: 1 (RandomStart(idx=1, seed=7577,
g_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/mandarin_dict_sample_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/aligner/lib/python3.10/site-packages/montreal_forced_aligner/g2p/trainer.py", line 144, in
run\n assert match, line\n', 'AssertionError: FATAL: SetFlags: Bad option: --lr=1.0\n'])) 2 (RandomStart(idx=2,
seed=2394, g_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/mandarin_dict_sample_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/aligner/lib/python3.10/site-packages/montreal_forced_aligner/g2p/trainer.py", line 144, in
run\n assert match, line\n', 'AssertionError: FATAL: SetFlags: Bad option: --lr=1.0\n'])) 3 (RandomStart(idx=3,
seed=28608, g_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/mandarin_dict_sample_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/aligner/lib/python3.10/site-packages/montreal_forced_aligner/g2p/trainer.py", line 144, in
run\n assert match, line\n', 'AssertionError: FATAL: SetFlags: Bad option: --lr=1.0\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 files
Dictionary
Are you using a dictionary from MFA? If so, which one? no
If it's a custom dictionary, what is the phoneset? 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.
From (https://githubhot.com/repo/MontrealCorpusTools/Montreal-Forced-Aligner/issues/401), I konw to downgrade the version of baumwelch to 0.3.6 to solve this error, but the command: conda install baumwelch=0.3.6 doesn't work because the version baumwelch=0.3.6 is not in conda (only baumwelch=0.3.7 in conda). So I do not know how to install baumwelch=0.3.6 in conda. Hope to get an answer. Thanks a lot! I use the version 2.0.0 rc3
Debugging checklist
[ ] Have you updated to latest MFA version? [ ] Have you tried rerunning the command with the
--clean
flag?Describe the issue PyniniAlignmentError: The following Pynini alignment jobs encountered errors: 1 (RandomStart(idx=1, seed=7577,
g_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/mandarin_dict_sample_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/aligner/lib/python3.10/site-packages/montreal_forced_aligner/g2p/trainer.py", line 144, in run\n assert match, line\n', 'AssertionError: FATAL: SetFlags: Bad option: --lr=1.0\n'])) 2 (RandomStart(idx=2, seed=2394, g_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/mandarin_dict_sample_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/aligner/lib/python3.10/site-packages/montreal_forced_aligner/g2p/trainer.py", line 144, in run\n assert match, line\n', 'AssertionError: FATAL: SetFlags: Bad option: --lr=1.0\n'])) 3 (RandomStart(idx=3, seed=28608, g_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/g.far',
p_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/p.far',
c_path='/home/midea/Documents/MFA/mandarin_dict_sample_pynini_train_g2p/pynini_train_g2p/c.fst',
tempdir='/home/midea/Documents/MFA/mandarin_dict_sample_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/aligner/lib/python3.10/site-packages/montreal_forced_aligner/g2p/trainer.py", line 144, in run\n assert match, line\n', 'AssertionError: FATAL: SetFlags: Bad option: --lr=1.0\n']))
For Reproducing your issue Please fill out the following:
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):
Additional context Add any other context about the problem here.