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
Wei Kang
2024-01-23 10:15:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-01-23 10:15:58 +0800
Commit
626775e5e2d26e105ef04ea67776eaabf8e155c4
626775e5
1 parent
b6c02090
Change model url from modelscope to github (#538)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
10 行增加
和
14 行删除
.github/scripts/test-kws.sh
.github/scripts/test-kws.sh
查看文件 @
626775e
...
...
@@ -17,16 +17,13 @@ log "------------------------------------------------------------"
log
"Run Chinese keyword spotting (Wenetspeech)"
log
"------------------------------------------------------------"
repo_url
=
https://
www.modelscope.cn/pkufool/sherpa-onnx-kws-zipformer-wenetspeech-3.3M-2024-01-01.git
repo_url
=
https://
github.com/pkufool/keyword-spotting-models/releases/download/v0.1/sherpa-onnx-kws-zipformer-wenetspeech-3.3M-2024-01-01.tar.bz
log
"Start testing
${
repo_url
}
"
repo
=
sherpa-onnx-kws-zipformer-wenetspeech-3.3M-2024-01-01
log
"Download pretrained model and test-data from
$repo_url
"
GIT_LFS_SKIP_SMUDGE
=
1 git clone
$repo_url
pushd
$repo
git lfs pull --include
"*.onnx"
ls -lh
*
.onnx
popd
log
"Download pretrained model and test-data from
$repo_url
"
wget
$repo_url
tar jxvf
${
repo
}
.tar.bz
time
$EXE
\
--tokens
=
$repo
/tokens.txt
\
...
...
@@ -39,21 +36,19 @@ time $EXE \
$repo
/test_wavs/3.wav
$repo
/test_wavs/4.wav
$repo
/test_wavs/5.wav
$repo
/test_wavs/6.wav
rm -rf
$repo
rm -rf
${
repo
}
.tar.bz
log
"------------------------------------------------------------"
log
"Run English keyword spotting (Gigaspeech)"
log
"------------------------------------------------------------"
repo_url
=
https://
www.modelscope.cn/pkufool/sherpa-onnx-kws-zipformer-gigaspeech-3.3M-2024-01-01.git
repo_url
=
https://
github.com/pkufool/keyword-spotting-models/releases/download/v0.1/sherpa-onnx-kws-zipformer-gigaspeech-3.3M-2024-01-01.tar.bz
log
"Start testing
${
repo_url
}
"
repo
=
sherpa-onnx-kws-zipformer-gigaspeech-3.3M-2024-01-01
log
"Download pretrained model and test-data from
$repo_url
"
GIT_LFS_SKIP_SMUDGE
=
1 git clone
$repo_url
pushd
$repo
git lfs pull --include
"*.onnx"
ls -lh
*
.onnx
popd
log
"Download pretrained model and test-data from
$repo_url
"
wget
$repo_url
tar jxvf
${
ropo
}
.tar.bz
time
$EXE
\
--tokens
=
$repo
/tokens.txt
\
...
...
@@ -66,3 +61,4 @@ time $EXE \
$repo
/test_wavs/0.wav
$repo
/test_wavs/1.wav
rm -rf
$repo
rm -rf
${
repo
}
.tar.bz
...
...
请
注册
或
登录
后发表评论