From 9be59e9cef057e55af5a0cdc7416d2d69cd37f23 Mon Sep 17 00:00:00 2001 From: TianYuan Date: Wed, 22 Dec 2021 02:50:53 +0000 Subject: [PATCH] update readme, test=doc_fix --- demos/audio_tagging/README.md | 2 +- demos/audio_tagging/README_cn.md | 4 ++-- demos/automatic_video_subtitiles/README.md | 2 +- demos/automatic_video_subtitiles/README_cn.md | 4 ++-- demos/punctuation_restoration/README.md | 2 +- demos/punctuation_restoration/README_cn.md | 4 ++-- demos/speech_recognition/README.md | 3 +-- demos/speech_recognition/README_cn.md | 7 ++++--- demos/speech_translation/README.md | 2 +- demos/speech_translation/README_cn.md | 4 ++-- demos/text_to_speech/README.md | 3 +-- demos/text_to_speech/README_cn.md | 4 ++-- examples/csmsc/tts2/local/synthesize_e2e.sh | 6 +++--- examples/csmsc/tts3/local/synthesize_e2e.sh | 6 +++--- 14 files changed, 26 insertions(+), 27 deletions(-) diff --git a/demos/audio_tagging/README.md b/demos/audio_tagging/README.md index 7ee9b6f7a..9d4af0be6 100644 --- a/demos/audio_tagging/README.md +++ b/demos/audio_tagging/README.md @@ -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. diff --git a/demos/audio_tagging/README_cn.md b/demos/audio_tagging/README_cn.md index eb527d998..79f87bf8c 100644 --- a/demos/audio_tagging/README_cn.md +++ b/demos/audio_tagging/README_cn.md @@ -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`), diff --git a/demos/automatic_video_subtitiles/README.md b/demos/automatic_video_subtitiles/README.md index 365b65073..db6da40db 100644 --- a/demos/automatic_video_subtitiles/README.md +++ b/demos/automatic_video_subtitiles/README.md @@ -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. diff --git a/demos/automatic_video_subtitiles/README_cn.md b/demos/automatic_video_subtitiles/README_cn.md index 1d13691c3..fc7b2cf6a 100644 --- a/demos/automatic_video_subtitiles/README_cn.md +++ b/demos/automatic_video_subtitiles/README_cn.md @@ -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. 准备输入 获取包含特定语言语音的视频文件: diff --git a/demos/punctuation_restoration/README.md b/demos/punctuation_restoration/README.md index 4010d888b..518d437dc 100644 --- a/demos/punctuation_restoration/README.md +++ b/demos/punctuation_restoration/README.md @@ -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. diff --git a/demos/punctuation_restoration/README_cn.md b/demos/punctuation_restoration/README_cn.md index 5133174c6..9d4be8bf0 100644 --- a/demos/punctuation_restoration/README_cn.md +++ b/demos/punctuation_restoration/README_cn.md @@ -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 的输入是通过参数传递的特定语言的文本。 diff --git a/demos/speech_recognition/README.md b/demos/speech_recognition/README.md index 9fc7f088f..7e87b4ecc 100644 --- a/demos/speech_recognition/README.md +++ b/demos/speech_recognition/README.md @@ -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. diff --git a/demos/speech_recognition/README_cn.md b/demos/speech_recognition/README_cn.md index 421a3ddaf..ab6d960e0 100644 --- a/demos/speech_recognition/README_cn.md +++ b/demos/speech_recognition/README_cn.md @@ -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`),并且采样率必须与模型的采样率相同。 diff --git a/demos/speech_translation/README.md b/demos/speech_translation/README.md index 277bb3872..f675a4eda 100644 --- a/demos/speech_translation/README.md +++ b/demos/speech_translation/README.md @@ -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. diff --git a/demos/speech_translation/README_cn.md b/demos/speech_translation/README_cn.md index bf0bfcf56..bad9b392f 100644 --- a/demos/speech_translation/README_cn.md +++ b/demos/speech_translation/README_cn.md @@ -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`) 语音文件 diff --git a/demos/text_to_speech/README.md b/demos/text_to_speech/README.md index 1c235b690..9d3c4ac53 100644 --- a/demos/text_to_speech/README.md +++ b/demos/text_to_speech/README.md @@ -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 diff --git a/demos/text_to_speech/README_cn.md b/demos/text_to_speech/README_cn.md index 0a4546c78..f075efdaf 100644 --- a/demos/text_to_speech/README_cn.md +++ b/demos/text_to_speech/README_cn.md @@ -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. 准备输入 diff --git a/examples/csmsc/tts2/local/synthesize_e2e.sh b/examples/csmsc/tts2/local/synthesize_e2e.sh index a458bd5ff..6638c0142 100755 --- a/examples/csmsc/tts2/local/synthesize_e2e.sh +++ b/examples/csmsc/tts2/local/synthesize_e2e.sh @@ -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 \ diff --git a/examples/csmsc/tts3/local/synthesize_e2e.sh b/examples/csmsc/tts3/local/synthesize_e2e.sh index 891ed041b..61548d125 100755 --- a/examples/csmsc/tts3/local/synthesize_e2e.sh +++ b/examples/csmsc/tts3/local/synthesize_e2e.sh @@ -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 \