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

nnet3 decoder #1

Open
zw76859420 opened this issue May 2, 2022 · 10 comments
Open

nnet3 decoder #1

zw76859420 opened this issue May 2, 2022 · 10 comments

Comments

@zw76859420
Copy link

您好,大佬,请问您现在支持nnet3 decoder 解码吗?
或者支持三音素GMM-HMM解码吗?

期望您的回答,谢谢

@Ma-Dan
Copy link
Owner

Ma-Dan commented May 2, 2022

您好!nnet3解码目前不支持呢,另一个大佬的repo支持 https://github.com/xiangxyq/minimize-chain-decoder
三音素是有可能支持的,不过没有验证过,原则上反映在解码中应该只是状态数的变化。

@zw76859420
Copy link
Author

您好可以加您的微信吗?跟您探讨下ASR解码细节,可以一起研究开发 nnet3 以及三音素解码?

@zw76859420
Copy link
Author

看您的代码,您已经将 simple-decoder从 kaldi中解耦,nnet3推理才是最重要的

@Ma-Dan
Copy link
Owner

Ma-Dan commented May 3, 2022

之前也c曾经把需要的代码都移植到一个工程( https://github.com/Ma-Dan/vosk-porting )中,但是nnet3的代码只是调试了一下没有单独出来。
image

@zw76859420
Copy link
Author

感谢您分享的git,但是上述代码还会依赖于kaldi的io,我想将其去除掉,自己写一套基于nnet3推理框架。
就跟您现在的项目一样

@zw76859420
Copy link
Author

您这是将 kaldi弄在 windows 环境下进行的调试?

@Ma-Dan
Copy link
Owner

Ma-Dan commented May 4, 2022

您这是将 kaldi弄在 windows 环境下进行的调试?

是的,这个代码有Mac/Linux和Windows两个分支,Mac下VSCode也是可以调试的。
需要的kaldi组件都以代码的形式包含了,外部依赖只需要OpenFST和OpenBLAS(Windows上需要,Linux上可以用cblas等),不需要单独再编译kaldi了。

@Ma-Dan
Copy link
Owner

Ma-Dan commented May 4, 2022

主要是想给单独做nnet3的时候有个比较方便的参照

@zw76859420
Copy link
Author

明白了,可以加您的联系方式,有问题跟您请教下。比如在您的项目中 读取final.mdl时ReadIntegerVector(fp, &topo.phones);
函数的作用吗?调试的结果与自己的思考的不太一致。

@zw76859420
Copy link
Author

您这是将 kaldi弄在 windows 环境下进行的调试?

是的,这个代码有Mac/Linux和Windows两个分支,Mac下VSCode也是可以调试的。 需要的kaldi组件都以代码的形式包含了,外部依赖只需要OpenFST和OpenBLAS(Windows上需要,Linux上可以用cblas等),不需要单独再编译kaldi了。

请问下您有尝试过 windows下调试 kaldi吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants