Closed xelatronic closed 9 months ago
Same error on osx-arm64 14.0: mfa align --clean --textgrid_cleanup --include_original_text --overwrite --use_mp -s 5 transcribed_psychopy_test english_us_mfa english_mfa test_output
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/abc.py", line 82, in run
self._run()
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/corpus/features.py", line 497, in _run
computer = FmllrComputer(
TypeError: __init__() got an unexpected keyword argument 'two_models'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/aledel/miniconda3/envs/tdgameenv/bin/mfa", line 10, in <module>
sys.exit(mfa_cli())
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/rich_click/rich_command.py", line 126, in main
rv = self.invoke(ctx)
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/command_line/align.py", line 122, in align_corpus_cli
aligner.align()
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/alignment/pretrained.py", line 334, in align
super().align()
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/alignment/base.py", line 374, in align
self.calc_fmllr()
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/corpus/acoustic_corpus.py", line 709, in calc_fmllr
for _ in run_kaldi_function(CalcFmllrFunction, arguments, pbar.update):
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/utils.py", line 654, in run_kaldi_function
raise v
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/utils.py", line 538, in run
self.function.run()
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/abc.py", line 86, in run
raise MultiprocessingError(self.job_name, error_text)
montreal_forced_aligner.exceptions.MultiprocessingError: MultiprocessingError:
Job 2 encountered an error:
Traceback (most recent call last):
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/abc.py", line 82, in run
self._run()
File "/Users/aledel/miniconda3/envs/tdgameenv/lib/python3.9/site-packages/montreal_forced_aligner/corpus/features.py", line 497, in _run
computer = FmllrComputer(
TypeError: __init__() got an unexpected keyword argument 'two_models'
MFA version: 3.0.0a8
As of the latest update 3.0.0rc2 I no longer get the TypeError, but I still can only run MFA when running the Anaconda Prompt as administrator. That's not an issue for my workflow, but any idea what dependency might be causing that and/or how to resolve? I have Anaconda installed globally on this machine.
Debugging checklist
[X] Have you updated to latest MFA version? [X] Have you tried rerunning the command with the
--clean
flag?Describe the issue I'm in the process of moving to a new machine and can't get MFA to work on it. When I run align straight from the Anaconda prompt, the final error I get is an OSError saying it requires higher privileges. When I run as admin the error changes to a TypeError.
Command:
Non-admin error:
Admin error:
For Reproducing your issue Please fill out the following:
Log file TEST_STIM_LABS_NOTADMIN.log, TEST_STIM_LABS_ADMIN.log
Desktop (please complete the following information):
Additional context Trying to validate also throws an error. Reverting to previous versions does not solve. The data I'm trying to align has previously been aligned successfully on my old machine.