雾聪
2024-04-18 e29e245bcdb765a0a7b723451d7c21ccfa4446c1
fix FunOfflineInfer
1个文件已修改
1 ■■■■ 已修改文件
runtime/onnxruntime/src/funasrruntime.cpp 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/onnxruntime/src/funasrruntime.cpp
@@ -378,7 +378,6 @@
            if (wfst_decoder){
                wfst_decoder->StartUtterance();
            }
            vector<string> msgs = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in);
            vector<string> msg_batch = (offline_stream->asr_handle)->Forward(buff, len, true, hw_emb, dec_handle, batch_in);
            for(int idx=0; idx<batch_in; idx++){
                string msg = msg_batch[idx];