Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
DeepSpeech
提交
49dadc80
D
DeepSpeech
项目概览
PaddlePaddle
/
DeepSpeech
12 个月 前同步成功
通知
204
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,发现更多精彩内容 >>
提交
49dadc80
编写于
5月 26, 2022
作者:
K
KP
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update usage and doc of cli executor.
上级
7bc54cbb
变更
16
显示空白变更内容
内联
并排
Showing
16 changed file
with
19 addition
and
17 deletion
+19
-17
demos/audio_searching/src/encode.py
demos/audio_searching/src/encode.py
+1
-1
demos/audio_tagging/README.md
demos/audio_tagging/README.md
+1
-1
demos/audio_tagging/README_cn.md
demos/audio_tagging/README_cn.md
+1
-1
demos/automatic_video_subtitiles/README.md
demos/automatic_video_subtitiles/README.md
+2
-1
demos/automatic_video_subtitiles/README_cn.md
demos/automatic_video_subtitiles/README_cn.md
+2
-1
demos/automatic_video_subtitiles/recognize.py
demos/automatic_video_subtitiles/recognize.py
+2
-2
demos/punctuation_restoration/README.md
demos/punctuation_restoration/README.md
+1
-1
demos/punctuation_restoration/README_cn.md
demos/punctuation_restoration/README_cn.md
+1
-1
demos/speaker_verification/README.md
demos/speaker_verification/README.md
+1
-1
demos/speaker_verification/README_cn.md
demos/speaker_verification/README_cn.md
+1
-1
demos/speech_recognition/README.md
demos/speech_recognition/README.md
+1
-1
demos/speech_recognition/README_cn.md
demos/speech_recognition/README_cn.md
+1
-1
demos/speech_translation/README.md
demos/speech_translation/README.md
+1
-1
demos/speech_translation/README_cn.md
demos/speech_translation/README_cn.md
+1
-1
demos/text_to_speech/README.md
demos/text_to_speech/README.md
+1
-1
demos/text_to_speech/README_cn.md
demos/text_to_speech/README_cn.md
+1
-1
未找到文件。
demos/audio_searching/src/encode.py
浏览文件 @
49dadc80
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
import
numpy
as
np
import
numpy
as
np
from
logs
import
LOGGER
from
logs
import
LOGGER
from
paddlespeech.cli
import
VectorExecutor
from
paddlespeech.cli
.vector
import
VectorExecutor
vector_executor
=
VectorExecutor
()
vector_executor
=
VectorExecutor
()
...
...
demos/audio_tagging/README.md
浏览文件 @
49dadc80
...
@@ -57,7 +57,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe
...
@@ -57,7 +57,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
CLSExecutor
from
paddlespeech.cli
.cls
import
CLSExecutor
cls_executor
=
CLSExecutor
()
cls_executor
=
CLSExecutor
()
result
=
cls_executor
(
result
=
cls_executor
(
...
...
demos/audio_tagging/README_cn.md
浏览文件 @
49dadc80
...
@@ -57,7 +57,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe
...
@@ -57,7 +57,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/cat.wav https://paddlespe
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
CLSExecutor
from
paddlespeech.cli
.cls
import
CLSExecutor
cls_executor
=
CLSExecutor
()
cls_executor
=
CLSExecutor
()
result
=
cls_executor
(
result
=
cls_executor
(
...
...
demos/automatic_video_subtitiles/README.md
浏览文件 @
49dadc80
...
@@ -28,7 +28,8 @@ ffmpeg -i subtitle_demo1.mp4 -ac 1 -ar 16000 -vn input.wav
...
@@ -28,7 +28,8 @@ ffmpeg -i subtitle_demo1.mp4 -ac 1 -ar 16000 -vn input.wav
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
ASRExecutor
,
TextExecutor
from
paddlespeech.cli.asr
import
ASRExecutor
from
paddlespeech.cli.text
import
TextExecutor
asr_executor
=
ASRExecutor
()
asr_executor
=
ASRExecutor
()
text_executor
=
TextExecutor
()
text_executor
=
TextExecutor
()
...
...
demos/automatic_video_subtitiles/README_cn.md
浏览文件 @
49dadc80
...
@@ -23,7 +23,8 @@ ffmpeg -i subtitle_demo1.mp4 -ac 1 -ar 16000 -vn input.wav
...
@@ -23,7 +23,8 @@ ffmpeg -i subtitle_demo1.mp4 -ac 1 -ar 16000 -vn input.wav
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
ASRExecutor
,
TextExecutor
from
paddlespeech.cli.asr
import
ASRExecutor
from
paddlespeech.cli.text
import
TextExecutor
asr_executor
=
ASRExecutor
()
asr_executor
=
ASRExecutor
()
text_executor
=
TextExecutor
()
text_executor
=
TextExecutor
()
...
...
demos/automatic_video_subtitiles/recognize.py
浏览文件 @
49dadc80
...
@@ -16,8 +16,8 @@ import os
...
@@ -16,8 +16,8 @@ import os
import
paddle
import
paddle
from
paddlespeech.cli
import
ASRExecutor
from
paddlespeech.cli
.asr
import
ASRExecutor
from
paddlespeech.cli
import
TextExecutor
from
paddlespeech.cli
.text
import
TextExecutor
# yapf: disable
# yapf: disable
parser
=
argparse
.
ArgumentParser
(
__doc__
)
parser
=
argparse
.
ArgumentParser
(
__doc__
)
...
...
demos/punctuation_restoration/README.md
浏览文件 @
49dadc80
...
@@ -42,7 +42,7 @@ The input of this demo should be a text of the specific language that can be pas
...
@@ -42,7 +42,7 @@ The input of this demo should be a text of the specific language that can be pas
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
TextExecutor
from
paddlespeech.cli
.text
import
TextExecutor
text_executor
=
TextExecutor
()
text_executor
=
TextExecutor
()
result
=
text_executor
(
result
=
text_executor
(
...
...
demos/punctuation_restoration/README_cn.md
浏览文件 @
49dadc80
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
TextExecutor
from
paddlespeech.cli
.text
import
TextExecutor
text_executor
=
TextExecutor
()
text_executor
=
TextExecutor
()
result
=
text_executor
(
result
=
text_executor
(
...
...
demos/speaker_verification/README.md
浏览文件 @
49dadc80
...
@@ -96,7 +96,7 @@ wget -c https://paddlespeech.bj.bcebos.com/vector/audio/85236145389.wav
...
@@ -96,7 +96,7 @@ wget -c https://paddlespeech.bj.bcebos.com/vector/audio/85236145389.wav
-
Python API
-
Python API
```
python
```
python
from
paddlespeech.cli
import
VectorExecutor
from
paddlespeech.cli
.vector
import
VectorExecutor
vector_executor
=
VectorExecutor
()
vector_executor
=
VectorExecutor
()
audio_emb
=
vector_executor
(
audio_emb
=
vector_executor
(
...
...
demos/speaker_verification/README_cn.md
浏览文件 @
49dadc80
...
@@ -95,7 +95,7 @@ wget -c https://paddlespeech.bj.bcebos.com/vector/audio/85236145389.wav
...
@@ -95,7 +95,7 @@ wget -c https://paddlespeech.bj.bcebos.com/vector/audio/85236145389.wav
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
VectorExecutor
from
paddlespeech.cli
.vector
import
VectorExecutor
vector_executor
=
VectorExecutor
()
vector_executor
=
VectorExecutor
()
audio_emb
=
vector_executor
(
audio_emb
=
vector_executor
(
...
...
demos/speech_recognition/README.md
浏览文件 @
49dadc80
...
@@ -58,7 +58,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
...
@@ -58,7 +58,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
ASRExecutor
from
paddlespeech.cli
.asr
import
ASRExecutor
asr_executor
=
ASRExecutor
()
asr_executor
=
ASRExecutor
()
text
=
asr_executor
(
text
=
asr_executor
(
...
...
demos/speech_recognition/README_cn.md
浏览文件 @
49dadc80
...
@@ -56,7 +56,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
...
@@ -56,7 +56,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
ASRExecutor
from
paddlespeech.cli
.asr
import
ASRExecutor
asr_executor
=
ASRExecutor
()
asr_executor
=
ASRExecutor
()
text
=
asr_executor
(
text
=
asr_executor
(
...
...
demos/speech_translation/README.md
浏览文件 @
49dadc80
...
@@ -47,7 +47,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
...
@@ -47,7 +47,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
STExecutor
from
paddlespeech.cli
.st
import
STExecutor
st_executor
=
STExecutor
()
st_executor
=
STExecutor
()
text
=
st_executor
(
text
=
st_executor
(
...
...
demos/speech_translation/README_cn.md
浏览文件 @
49dadc80
...
@@ -47,7 +47,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
...
@@ -47,7 +47,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav https://paddlespee
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
STExecutor
from
paddlespeech.cli
.st
import
STExecutor
st_executor
=
STExecutor
()
st_executor
=
STExecutor
()
text
=
st_executor
(
text
=
st_executor
(
...
...
demos/text_to_speech/README.md
浏览文件 @
49dadc80
...
@@ -77,7 +77,7 @@ The input of this demo should be a text of the specific language that can be pas
...
@@ -77,7 +77,7 @@ The input of this demo should be a text of the specific language that can be pas
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
TTSExecutor
from
paddlespeech.cli
.tts
import
TTSExecutor
tts_executor
=
TTSExecutor
()
tts_executor
=
TTSExecutor
()
wav_file
=
tts_executor
(
wav_file
=
tts_executor
(
...
...
demos/text_to_speech/README_cn.md
浏览文件 @
49dadc80
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
-
Python API
-
Python API
```
python
```
python
import
paddle
import
paddle
from
paddlespeech.cli
import
TTSExecutor
from
paddlespeech.cli
.tts
import
TTSExecutor
tts_executor
=
TTSExecutor
()
tts_executor
=
TTSExecutor
()
wav_file
=
tts_executor
(
wav_file
=
tts_executor
(
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录