Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
be8a78a9
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
大约 2 年 前同步成功
通知
210
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看板
提交
be8a78a9
编写于
5月 25, 2022
作者:
X
xiongxinlei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix the vector model type error, test=doc
上级
a5605978
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
7 addition
and
3 deletion
+7
-3
demos/audio_content_search/conf/acs_application.yaml
demos/audio_content_search/conf/acs_application.yaml
+1
-0
docs/source/released_model.md
docs/source/released_model.md
+1
-1
paddlespeech/server/engine/acs/python/acs_engine.py
paddlespeech/server/engine/acs/python/acs_engine.py
+5
-2
未找到文件。
demos/audio_content_search/conf/acs_application.yaml
浏览文件 @
be8a78a9
...
...
@@ -28,6 +28,7 @@ acs_python:
word_list
:
"
./conf/words.txt"
sample_rate
:
16000
device
:
'
cpu'
# set 'gpu:id' or 'cpu'
ping_timeout
:
100
# seconds
...
...
docs/source/released_model.md
浏览文件 @
be8a78a9
...
...
@@ -82,7 +82,7 @@ PANN | ESC-50 |[pann-esc50](../../examples/esc50/cls0)|[esc50_cnn6.tar.gz](https
Model Type | Dataset| Example Link | Pretrained Models | Static Models
:-------------:| :------------:| :-----: | :-----: | :-----:
PA
NN | VoxCeleb|
[
voxceleb_ecapatdnn
](
https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/examples/voxceleb/sv0
)
|
[
ecapatdnn.tar.gz
](
https://paddlespeech.bj.bcebos.com/vector/voxceleb/sv0_ecapa_tdnn_voxceleb12_ckpt_0_2_1.tar.gz
)
| -
ECAPA-TD
NN | VoxCeleb|
[
voxceleb_ecapatdnn
](
https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/examples/voxceleb/sv0
)
|
[
ecapatdnn.tar.gz
](
https://paddlespeech.bj.bcebos.com/vector/voxceleb/sv0_ecapa_tdnn_voxceleb12_ckpt_0_2_1.tar.gz
)
| -
## Punctuation Restoration Models
Model Type | Dataset| Example Link | Pretrained Models
...
...
paddlespeech/server/engine/acs/python/acs_engine.py
浏览文件 @
be8a78a9
...
...
@@ -46,6 +46,9 @@ class ACSEngine(BaseEngine):
try
:
self
.
config
=
config
self
.
device
=
self
.
config
.
get
(
"device"
,
paddle
.
get_device
())
# websocket default ping timeout is 20 seconds
self
.
ping_timeout
=
self
.
config
.
get
(
"ping_timeout"
,
20
)
paddle
.
set_device
(
self
.
device
)
logger
.
info
(
f
"ACS Engine set the device:
{
self
.
device
}
"
)
...
...
@@ -97,8 +100,8 @@ class ACSEngine(BaseEngine):
logger
.
error
(
"No asr server, please input valid ip and port"
)
return
""
ws
=
websocket
.
WebSocket
()
ws
.
connect
(
self
.
url
)
# with websocket.WebSocket.connect(self.url) as ws:
logger
.
info
(
f
"set the ping timeout:
{
self
.
ping_timeout
}
seconds"
)
ws
.
connect
(
self
.
url
,
ping_timeout
=
self
.
ping_timeout
)
audio_info
=
json
.
dumps
(
{
"name"
:
"test.wav"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录