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

请教,如何不使用循环就得到全部的特征呢? #42

Closed
quliulangle opened this issue Mar 19, 2024 · 3 comments
Closed

请教,如何不使用循环就得到全部的特征呢? #42

quliulangle opened this issue Mar 19, 2024 · 3 comments

Comments

@quliulangle
Copy link

[fbank.get_frame(i) for i in range(fbank.num_frames_ready)]

现在的情况是通过for循环以及get_frame函数,得到全部的fbank特征。假如已经知道了fbank的维度(1000,80),那能否不使用循环直接得到呢?

@quliulangle
Copy link
Author

使用for循环取特征太慢了

@csukuangfj
Copy link
Owner

使用for循环取特征太慢了

是有多慢?


你自己可以扩展 c++ 代码

@yeyupiaoling
Copy link

@quliulangle 感觉不慢,我这边测试,10秒的音频,for循环不到1ms。

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

3 participants