MontrealCorpusTools / Montreal-Forced-Aligner

Command line utility for forced alignment using Kaldi
https://montrealcorpustools.github.io/Montreal-Forced-Aligner/
MIT License
1.27k stars 242 forks source link

Convert existing mdl model into alimdl model instead of trainning #718

Closed wei2222 closed 5 months ago

wei2222 commented 9 months ago

Debugging checklist

[Yes] Have you updated to latest MFA version? [Yes] Have you tried rerunning the command with the --clean flag?

Describe the issue: mfa validate/align does not support old mfa model

Hi, is there any possible way to convert an old version model into a new one? Thanks.

wei2222 commented 8 months ago

@mmcauliffe Do you have any idea? Could anyone help or explain this?

wei2222 commented 8 months ago

mandarin (1).zip mandarin_pinyin_trans.txt The attachment is the model and dictionary that works for previous MFA model. The core difference is that alimdl model is required for the current version. But the official acoustic model for mandrain does not support pinyin phoneme.

The command for testing it would be mfa validate

Jon-Zbw commented 7 months ago

请问您解决了吗?我也是报错assert self.alignment_model_path.suffix == ".alimdl" @wei2222

wei2222 commented 7 months ago

没有解决 把这行去掉l可以运行 但不知道有没有其他问题

Jon-Zbw commented 7 months ago

@wei2222 我是重新装的2.2.4版本可以运行,您说的去掉这行什么意思?修改源码?