Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
ff4ddd22
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 1 年 前同步成功
通知
206
Star
8425
Fork
1598
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
245
列表
看板
标记
里程碑
合并请求
3
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
DeepSpeech
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
245
Issue
245
列表
看板
标记
里程碑
合并请求
3
合并请求
3
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ff4ddd22
编写于
4月 19, 2022
作者:
X
xiongxinlei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix the unuseful code, test=doc
上级
9c03280c
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
2 addition
and
12 deletion
+2
-12
paddlespeech/s2t/modules/ctc.py
paddlespeech/s2t/modules/ctc.py
+0
-1
paddlespeech/server/conf/ws_application.yaml
paddlespeech/server/conf/ws_application.yaml
+0
-8
paddlespeech/server/conf/ws_conformer_application.yaml
paddlespeech/server/conf/ws_conformer_application.yaml
+1
-1
paddlespeech/server/engine/asr/online/asr_engine.py
paddlespeech/server/engine/asr/online/asr_engine.py
+1
-1
paddlespeech/server/ws/asr_socket.py
paddlespeech/server/ws/asr_socket.py
+0
-1
未找到文件。
paddlespeech/s2t/modules/ctc.py
浏览文件 @
ff4ddd22
...
...
@@ -181,7 +181,6 @@ class CTCDecoder(CTCDecoderBase):
if
self
.
_ext_scorer
is
not
None
:
return
from
paddlespeech.s2t.decoders.ctcdecoder
import
Scorer
# noqa: F401
if
language_model_path
!=
''
:
logger
.
info
(
"begin to initialize the external scorer "
"for decoding"
)
...
...
paddlespeech/server/conf/ws_application.yaml
浏览文件 @
ff4ddd22
...
...
@@ -45,11 +45,3 @@ asr_online:
shift_n
:
4
# frame
window_ms
:
20
# ms
shift_ms
:
10
# ms
vad_conf
:
aggressiveness
:
2
sample_rate
:
16000
frame_duration_ms
:
20
sample_width
:
2
padding_ms
:
200
padding_ratio
:
0.9
\ No newline at end of file
paddlespeech/server/conf/ws_conformer_application.yaml
浏览文件 @
ff4ddd22
...
...
@@ -21,7 +21,7 @@ engine_list: ['asr_online']
################################### ASR #########################################
################### speech task: asr; engine_type: online #######################
asr_online
:
model_type
:
'
conformer_online_multi
-
cn'
model_type
:
'
conformer_online_multicn'
am_model
:
# the pdmodel file of am static model [optional]
am_params
:
# the pdiparams file of am static model [optional]
lang
:
'
zh'
...
...
paddlespeech/server/engine/asr/online/asr_engine.py
浏览文件 @
ff4ddd22
...
...
@@ -59,7 +59,7 @@ pretrained_models = {
'lm_md5'
:
'29e02312deb2e59b3c8686c7966d4fe3'
},
"conformer_online_multi
-
cn-zh-16k"
:
{
"conformer_online_multicn-zh-16k"
:
{
'url'
:
'https://paddlespeech.bj.bcebos.com/s2t/multi_cn/asr1/asr1_chunk_conformer_multi_cn_ckpt_0.2.3.model.tar.gz'
,
'md5'
:
...
...
paddlespeech/server/ws/asr_socket.py
浏览文件 @
ff4ddd22
...
...
@@ -28,7 +28,6 @@ router = APIRouter()
@
router
.
websocket
(
'/ws/asr'
)
async
def
websocket_endpoint
(
websocket
:
WebSocket
):
print
(
"websocket protocal receive the dataset"
)
await
websocket
.
accept
()
engine_pool
=
get_engine_pool
()
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录