Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jason's Lab
2023-03-29 20:36:39 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-03-29 20:36:39 +0800
Commit
5e5620ea2317aa8c8ac6adf768ea7a0f7f6f058a
5e5620ea
1 parent
423d89e9
add zipformer model_type (#97)
Co-authored-by: lichao <
www.563042811@qq.com
>
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
sherpa-onnx/csrc/offline-recognizer-impl.cc
sherpa-onnx/csrc/offline-recognizer-impl.cc
查看文件 @
5e5620e
...
...
@@ -42,7 +42,7 @@ std::unique_ptr<OfflineRecognizerImpl> OfflineRecognizerImpl::Create(
std
::
string
model_type
;
SHERPA_ONNX_READ_META_DATA_STR
(
model_type
,
"model_type"
);
if
(
model_type
==
"conformer"
)
{
if
(
model_type
==
"conformer"
||
model_type
==
"zipformer"
)
{
return
std
::
make_unique
<
OfflineRecognizerTransducerImpl
>
(
config
);
}
...
...
请
注册
或
登录
后发表评论