Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Dec 30, 2024
1 parent 5181a47 commit 9fd87c5
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/baker_zh/TTS/run-matcha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function export_onnx() {
ls -lh *.onnx

if false; then
# THe CI machine does not have enough memory to run it
# The CI machine does not have enough memory to run it
#
curl -SL -O https://github.com/csukuangfj/models/raw/refs/heads/master/hifigan/generator_v1
curl -SL -O https://github.com/csukuangfj/models/raw/refs/heads/master/hifigan/generator_v2
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/ljspeech/TTS/run-matcha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function export_onnx() {
ls -lh *.onnx

if false; then
# THe CI machine does not have enough memory to run it
# The CI machine does not have enough memory to run it
#
curl -SL -O https://github.com/csukuangfj/models/raw/refs/heads/master/hifigan/generator_v1
curl -SL -O https://github.com/csukuangfj/models/raw/refs/heads/master/hifigan/generator_v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/baker_zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

concurrency:
group: ljspeech-${{ github.ref }}
group: baker-zh-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
1 change: 1 addition & 0 deletions egs/baker_zh/TTS/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
path.sh
*.onnx
*.wav
generator_v1
generator_v2
Expand Down
10 changes: 7 additions & 3 deletions egs/baker_zh/TTS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
It is for the dataset from
https://en.data-baker.com/datasets/freeDatasets/

The dataset contains 10000 Chinese sentences of a native Chinese female speaker.
The dataset contains 10000 Chinese sentences of a native Chinese female speaker,
which is about 12 hours.


**Note**: The dataset is for non-commercial use only.


# matcha
Expand All @@ -28,7 +32,7 @@ python3 ./matcha/train.py \
To inference, use:

```bash
# Download Hifigan vocoder. We use Hifigan v1 below. You can select from v1, v2, or v3
# Download Hifigan vocoder. We use Hifigan v2 below. You can select from v1, v2, or v3

wget https://github.com/csukuangfj/models/raw/refs/heads/master/hifigan/generator_v2

Expand Down Expand Up @@ -70,7 +74,7 @@ python3 ./matcha/export_onnx.py \
--cmvn ./data/fbank/cmvn.json
```

The above command generate the following files:
The above command generates the following files:
```
-rw-r--r-- 1 kuangfangjun root 72M Dec 27 18:53 model-steps-2.onnx
-rw-r--r-- 1 kuangfangjun root 73M Dec 27 18:54 model-steps-3.onnx
Expand Down
2 changes: 1 addition & 1 deletion egs/baker_zh/TTS/matcha/export_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def main():
"model_author": "icefall",
"maintainer": "k2-fsa",
"dataset": "baker-zh",
"use_eos_bos": 1,
"use_eos_bos": 0,
"dataset_url": "https://www.data-baker.com/open_source.html",
"dataset_comment": "The dataset is for non-commercial use only.",
"num_ode_steps": num_steps,
Expand Down
2 changes: 1 addition & 1 deletion egs/ljspeech/TTS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ To export the checkpoint to onnx:
--tokens ./data/tokens.txt
```

The above command generate the following files:
The above command generates the following files:

- model-steps-2.onnx
- model-steps-3.onnx
Expand Down

0 comments on commit 9fd87c5

Please sign in to comment.