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

关于推断速度 #15

Closed
Step-Zero opened this issue Nov 11, 2020 · 6 comments
Closed

关于推断速度 #15

Step-Zero opened this issue Nov 11, 2020 · 6 comments

Comments

@Step-Zero
Copy link

你好,请问你写的推断速度是指一次推断吗?因为我这试着一句话的推断还是挺慢的,每一个输出都依赖上一次输出,推断次数是帧数乘以你写的毫秒数吧?

@Z-yq
Copy link
Owner

Z-yq commented Nov 11, 2020

您用的是python版本还是 C版本?
CTC 还是 RNN-T 还是LAS 还是Transformer?

@Step-Zero
Copy link
Author

python版本 用的Transducer,encoder是Transformer。

@Z-yq
Copy link
Owner

Z-yq commented Nov 11, 2020 via email

@Step-Zero
Copy link
Author

时间打印的是perform_greedy函数执行的时间,15s的音频推断时间大约5s(没有使用 lm),是不是差不多就是这个处理速度?

@Z-yq
Copy link
Owner

Z-yq commented Nov 11, 2020 via email

@Step-Zero
Copy link
Author

确实是只有第一次推断时间比较长,之后15s左右的音频推断时间也只有600ms。感谢耐心解答

@Step-Zero Step-Zero reopened this Nov 12, 2020
@Z-yq Z-yq closed this as completed Dec 3, 2020
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