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
Fangjun Kuang
2023-06-19 14:09:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-06-19 14:09:24 +0800
Commit
d82251cba6fc4dd21be8f2264d48047ff85491e0
d82251cb
1 parent
85627112
Support the latest offline zipformer model (#180)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
sherpa-onnx/csrc/offline-recognizer-impl.cc
sherpa-onnx/csrc/offline-recognizer-impl.cc
查看文件 @
d82251c
...
...
@@ -67,7 +67,8 @@ std::unique_ptr<OfflineRecognizerImpl> OfflineRecognizerImpl::Create(
}
std
::
string
model_type
(
model_type_ptr
.
get
());
if
(
model_type
==
"conformer"
||
model_type
==
"zipformer"
)
{
if
(
model_type
==
"conformer"
||
model_type
==
"zipformer"
||
model_type
==
"zipformer2"
)
{
return
std
::
make_unique
<
OfflineRecognizerTransducerImpl
>
(
config
);
}
...
...
请
注册
或
登录
后发表评论