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-24 16:40:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-01-24 16:40:14 +0800
Commit
2ff10490796d101f9815010168ea5410808269d2
2ff10490
1 parent
bbd7c7fc
change modelscope link to github for build-kws-apki (#540)
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
19 行增加
和
17 行删除
.github/scripts/test-kws.sh
.github/workflows/linux.yaml
.github/workflows/macos.yaml
build-kws-apk.sh
.github/scripts/test-kws.sh
查看文件 @
2ff1049
...
...
@@ -22,7 +22,7 @@ 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
"
wget
$repo_url
wget
-qq
$repo_url
tar jxvf
${
repo
}
.tar.bz
time
$EXE
\
...
...
@@ -47,8 +47,8 @@ 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
"
wget
$repo_url
tar jxvf
${
ropo
}
.tar.bz
wget -qq
$repo_url
tar jxvf
${
repo
}
.tar.bz
time
$EXE
\
--tokens
=
$repo
/tokens.txt
\
...
...
.github/workflows/linux.yaml
查看文件 @
2ff1049
...
...
@@ -8,6 +8,7 @@ on:
-
'
*'
paths
:
-
'
.github/workflows/linux.yaml'
-
'
.github/scripts/test-kws.sh'
-
'
.github/scripts/test-online-transducer.sh'
-
'
.github/scripts/test-online-paraformer.sh'
-
'
.github/scripts/test-offline-transducer.sh'
...
...
@@ -24,6 +25,7 @@ on:
-
master
paths
:
-
'
.github/workflows/linux.yaml'
-
'
.github/scripts/test-kws.sh'
-
'
.github/scripts/test-online-transducer.sh'
-
'
.github/scripts/test-online-paraformer.sh'
-
'
.github/scripts/test-offline-transducer.sh'
...
...
.github/workflows/macos.yaml
查看文件 @
2ff1049
...
...
@@ -8,6 +8,7 @@ on:
-
'
*'
paths
:
-
'
.github/workflows/macos.yaml'
-
'
.github/scripts/test-kws.sh'
-
'
.github/scripts/test-online-transducer.sh'
-
'
.github/scripts/test-online-paraformer.sh'
-
'
.github/scripts/test-offline-transducer.sh'
...
...
@@ -22,6 +23,7 @@ on:
-
master
paths
:
-
'
.github/workflows/macos.yaml'
-
'
.github/scripts/test-kws.sh'
-
'
.github/scripts/test-online-transducer.sh'
-
'
.github/scripts/test-online-paraformer.sh'
-
'
.github/scripts/test-offline-transducer.sh'
...
...
build-kws-apk.sh
查看文件 @
2ff1049
...
...
@@ -33,17 +33,17 @@ mkdir -p apks
repo
=
sherpa-onnx-kws-zipformer-wenetspeech-3.3M-2024-01-01
if
[
! -d ./android/SherpaOnnxKws/app/src/main/assets/
$repo
]
;
then
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
}
"
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"
wget -qq
$repo_url
tar jxvf
${
repo
}
.tar.bz
# remove .git to save spaces
rm -rf .git
pushd
$repo
rm
*
.int8.onnx
rm README.md
configuration.json .gitattributes
rm README.md
rm -rfv test_wavs
ls -lh
popd
...
...
@@ -85,17 +85,15 @@ rm -rf ./android/SherpaOnnxKws/app/src/main/assets/$repo
repo
=
sherpa-onnx-kws-zipformer-gigaspeech-3.3M-2024-01-01
if
[
! -d ./android/SherpaOnnxKws/app/src/main/assets/
$repo
]
;
then
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
}
"
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"
wget -qq
$repo_url
tar jxvf
${
repo
}
.tar.bz
# remove .git to save spaces
rm -rf .git
pushd
$repo
rm
*
.int8.onnx
rm README.md
configuration.json .gitattributes
rm README.md
rm -rfv test_wavs
ls -lh
popd
...
...
请
注册
或
登录
后发表评论