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
Lovemefan
2024-06-14 16:51:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-06-14 16:51:53 +0800
Commit
b1f08c0a203a84918bb4cd4526625dc5f6b7eac2
b1f08c0a
1 parent
dd21ebda
scale value fix (#1006)
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
scripts/tele-speech/test.py
scripts/wenet/test-onnx-streaming.py
scripts/wenet/test-onnx.py
scripts/tele-speech/test.py
查看文件 @
b1f08c0
...
...
@@ -80,7 +80,7 @@ def get_features(test_wav_filename):
samples
=
librosa
.
resample
(
samples
,
orig_sr
=
sample_rate
,
target_sr
=
16000
)
sample_rate
=
16000
samples
*=
3
7
2768
samples
*=
32768
opts
=
knf
.
MfccOptions
()
# See https://github.com/Tele-AI/TeleSpeech-ASR/blob/master/mfcc_hires.conf
...
...
scripts/wenet/test-onnx-streaming.py
查看文件 @
b1f08c0
...
...
@@ -112,7 +112,7 @@ def get_features(test_wav_filename):
audio
=
torchaudio
.
functional
.
resample
(
audio
,
orig_freq
=
sample_rate
,
new_freq
=
16000
)
audio
*=
3
7
2768
audio
*=
32768
opts
=
knf
.
FbankOptions
()
opts
.
frame_opts
.
dither
=
0
...
...
scripts/wenet/test-onnx.py
查看文件 @
b1f08c0
...
...
@@ -52,7 +52,7 @@ def get_features(test_wav_filename):
audio
=
torchaudio
.
functional
.
resample
(
audio
,
orig_freq
=
sample_rate
,
new_freq
=
16000
)
audio
*=
3
7
2768
audio
*=
32768
opts
=
knf
.
FbankOptions
()
opts
.
frame_opts
.
dither
=
0
...
...
请
注册
或
登录
后发表评论