提交 9be59e9c 编写于 作者: 小湉湉's avatar 小湉湉

update readme, test=doc_fix

上级 b7f4d8f1
......@@ -9,7 +9,7 @@ This demo is an implementation to tag an audio file with 527 [AudioSet](https://
## Usage
### 1. Installation
see https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md.
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).
You can choose one way from easy, meduim and hard to install paddlespeech.
......
......@@ -9,9 +9,9 @@
## 使用方法
### 1. 安装
请看 https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md
请看[安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md)
你可以从easy,medium,hard三中方式中选择一种方式安装。
你可以从 easy,medium,hard 三中方式中选择一种方式安装。
### 2. 准备输入
这个 demo 的输入应该是一个 WAV 文件(`.wav`),
......
......@@ -8,7 +8,7 @@ This demo is an implementation to automatic video subtitles from a video file. I
## Usage
### 1. Installation
see https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md.
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).
You can choose one way from easy, meduim and hard to install paddlespeech.
......
......@@ -6,9 +6,9 @@
这个 demo 是一个为视频自动生成字幕的实现,它可以通过使用 `PaddleSpeech` 的单个命令或 python 中的几行代码来实现。
## 使用方法
### 1. 安装
请看 https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md
请看[安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md)
你可以从easy,medium,hard三中方式中选择一种方式安装。
你可以从 easy,medium,hard 三中方式中选择一种方式安装。
### 2. 准备输入
获取包含特定语言语音的视频文件:
......
......@@ -7,7 +7,7 @@ This demo is an implementation to restore punctuation from raw text. It can be d
## Usage
### 1. Installation
see https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md.
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).
You can choose one way from easy, meduim and hard to install paddlespeech.
......
......@@ -9,9 +9,9 @@
## 使用方法
### 1. 安装
请看 https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md
请看[安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md)
你可以从easy,medium,hard三中方式中选择一种方式安装。
你可以从 easy,medium,hard 三中方式中选择一种方式安装。
### 2. 准备输入
这个 demo 的输入是通过参数传递的特定语言的文本。
......
......@@ -8,11 +8,10 @@ This demo is an implementation to recognize text from a specific audio file. It
## Usage
### 1. Installation
see https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md.
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).
You can choose one way from easy, meduim and hard to install paddlespeech.
### 2. Prepare Input File
The input of this demo should be a WAV file(`.wav`), and the sample rate must be the same as the model.
......
......@@ -7,9 +7,10 @@
这个 demo 是一个从给定音频文件识别文本的实现,它可以通过使用 `PaddleSpeech` 的单个命令或 python 中的几行代码来实现。
## 使用方法
### 1. 安装
```bash
pip install paddlespeech
```
请看[安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md)
你可以从 easy,medium,hard 三中方式中选择一种方式安装。
### 2. 准备输入
这个 demo 的输入应该是一个 WAV 文件(`.wav`),并且采样率必须与模型的采样率相同。
......
......@@ -7,7 +7,7 @@ This demo is an implementation to recognize text from a specific audio file and
## Usage
### 1. Installation
see https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md.
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).
You can choose one way from easy, meduim and hard to install paddlespeech.
......
......@@ -8,9 +8,9 @@
## 使用方法
### 1. 安装
请看 https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md
请看[安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md)
你可以从easy,medium,hard三中方式中选择一种方式安装。
你可以从 easy,medium,hard 三中方式中选择一种方式安装。
### 2. 准备输入
这个 Demo 的输入是 WAV(`.wav`) 语音文件
......
......@@ -8,11 +8,10 @@ This demo is an implementation to generate audio from the given text. It can be
## Usage
### 1. Installation
see https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md.
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).
You can choose one way from easy, meduim and hard to install paddlespeech.
### 2. Prepare Input
The input of this demo should be a text of the specific language that can be passed via argument.
### 3. Usage
......
......@@ -9,9 +9,9 @@
## 使用方法
### 1. 安装
请看 https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md
请看[安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install_cn.md)
你可以从easy,medium,hard三中方式中选择一种方式安装。
你可以从 easy,medium,hard 三中方式中选择一种方式安装。
### 2. 准备输入
......
......@@ -82,9 +82,9 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
--am_ckpt=${train_output_path}/checkpoints/${ckpt_name} \
--am_stat=dump/train/feats_stats.npy \
--voc=hifigan_csmsc \
--voc_config=pwg_baker_ckpt_0.4/pwg_default.yaml \
--voc_ckpt=pwg_baker_ckpt_0.4/pwg_snapshot_iter_400000.pdz \
--voc_stat=pwg_baker_ckpt_0.4/pwg_stats.npy \
--voc_config=hifigan_csmsc_ckpt_0.1.1/default.yaml \
--voc_ckpt=hifigan_csmsc_ckpt_0.1.1/snapshot_iter_2500000.pdz \
--voc_stat=hifigan_csmsc_ckpt_0.1.1/feats_stats.npy \
--lang=zh \
--text=${BIN_DIR}/../sentences.txt \
--output_dir=${train_output_path}/test_e2e \
......
......@@ -80,9 +80,9 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
--am_ckpt=${train_output_path}/checkpoints/${ckpt_name} \
--am_stat=dump/train/speech_stats.npy \
--voc=hifigan_csmsc \
--voc_config=hifigan_test/default.yaml \
--voc_ckpt=hifigan_test/snapshot_iter_1600000.pdz \
--voc_stat=hifigan_test/feats_stats.npy \
--voc_config=hifigan_csmsc_ckpt_0.1.1/default.yaml \
--voc_ckpt=hifigan_csmsc_ckpt_0.1.1/snapshot_iter_2500000.pdz \
--voc_stat=hifigan_csmsc_ckpt_0.1.1/feats_stats.npy \
--lang=zh \
--text=${BIN_DIR}/../sentences.txt \
--output_dir=${train_output_path}/test_e2e \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册