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

目前只在日志中打印的asr的文字结果,并没有把结果写入states[i]->result_all #21

Open
bestlee666 opened this issue Oct 15, 2024 · 1 comment

Comments

@bestlee666
Copy link

bestlee666 commented Oct 15, 2024

目前只在日志中打印的asr的文字结果,
printf("%s", ctx.vocab.id_to_token[id].c_str());

但并没有把结果写入states[i]->result_all

导致states[i]->result_all为空,无法获取asr结果
// combine results into result_state->result_all from all other states
for (int i = 0; i < n_processors - 1; ++i) {
auto& results_i = states[i]->result_all;

     代码上无法asr的结果。

本来想加上,奈何水平有限,不了解sencevoice的结构,加不了。

辛苦lovemefan加上。

@lovemefan
Copy link
Owner

好的,最近较忙,周末安排

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