Montreal-Forced-Aligner icon indicating copy to clipboard operation
Montreal-Forced-Aligner copied to clipboard

Convert existing mdl model into alimdl model instead of trainning

Open wei2222 opened this issue 2 years ago • 5 comments

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 avatar Nov 17 '23 10:11 wei2222

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

wei2222 avatar Nov 28 '23 08:11 wei2222

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

wei2222 avatar Dec 01 '23 10:12 wei2222

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

Jon-Zbw avatar Jan 09 '24 14:01 Jon-Zbw

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

wei2222 avatar Jan 11 '24 10:01 wei2222

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

Jon-Zbw avatar Jan 12 '24 05:01 Jon-Zbw