Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] TypeError: __init__() got an unexpected keyword argument 'two_models' #742

Closed
hantien2002 opened this issue Feb 5, 2024 · 4 comments
Assignees
Labels

Comments

@hantien2002
Copy link

Hi, here are all the command line I have run:
conda create -n mfa-test python=3.8 --yes
conda activate mfa-test
conda install -c conda-forge montreal-forced-aligner
mfa model download acoustic english_us_arpa
mfa model download dictionary english_us_arpa

then I run:
mfa validate ~/mfa_data/my_corpus english_us_arpa english_us_arpa
it passed.

then I run:
mfa align ~/mfa_data/my_corpus english_us_arpa english_us_arpa ~/mfa_data/my_corpus_aligned
it gave me the error.

error1 error2
@gadese
Copy link

gadese commented Feb 6, 2024

@mmcauliffe

This isn't a MFA issue. Version 0.6.0 of Kalpy changed the function signature for the arguments of FmllrComputer but MFA wasn't updated accordingly.

@hantien2002 Until MFA is updated, you can set the kalpy version to 0.5.9 in your conda env to ignore this issue.

@hantien2002
Copy link
Author

@gadese Thank you so much! It works perfect now!

@HildaNya
Copy link

HildaNya commented Feb 6, 2024

Follow up question: by setting kalpy to 0.5.9, do you mean removing the latest kalpy?

@hantien2002
Copy link
Author

I just did "conda install kalpy=0.5.9", and it works for me.

So after this, "conda list kalpy" should return something like:
kalpy 0.5.9

@AlienKevin AlienKevin mentioned this issue Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants