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