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-08-10 13:13:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-08-10 13:13:48 +0800
Commit
a324e0cb0d1a47c63aa9edcfb9bac685a9daa40f
a324e0cb
1 parent
865fd1e0
Fix building .Net package on Windows (#254)
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
3 行删除
c-api-examples/decode-file-c-api.c
scripts/dotnet/generate.py
c-api-examples/decode-file-c-api.c
查看文件 @
a324e0c
...
...
@@ -69,8 +69,11 @@ const char *kUsage =
"Valid decoding_method: greedy_search (default), modified_beam_search
\n\n
"
"Valid provider: cpu (default), cuda, coreml
\n\n
"
"Please refer to
\n
"
"https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html
\n
"
"for a list of pre-trained models to download.
\n
"
;
"https://k2-fsa.github.io/sherpa/onnx/pretrained_models/online-transducer/"
"index.html
\n
"
"for a list of pre-trained models to download.
\n
"
"
\n
"
"Note that this file supports only streaming transducer models.
\n
"
;
int32_t
main
(
int32_t
argc
,
char
*
argv
[])
{
if
(
argc
<
6
)
{
...
...
scripts/dotnet/generate.py
查看文件 @
a324e0c
...
...
@@ -88,7 +88,8 @@ def process_windows(s):
prefix1
=
f
"{SHERPA_ONNX_DIR}/windows/sherpa_onnx/lib/"
prefix2
=
f
"{SHERPA_ONNX_DIR}/windows/sherpa_onnx/"
prefix3
=
f
"{SHERPA_ONNX_DIR}/windows/"
prefix4
=
f
"{SHERPA_ONNX_DIR}/windows/sherpa_onnx-${version}.data/data/bin/"
prefix4
=
f
"{SHERPA_ONNX_DIR}/windows/sherpa_onnx-{version}.data/data/bin/"
print
(
prefix1
,
prefix2
,
prefix3
,
prefix4
)
lib_list
=
[]
for
lib
in
libs
:
...
...
请
注册
或
登录
后发表评论