Skip to content

Commit 063a99e

Browse files
authored
update readme en
1 parent 3cf6dde commit 063a99e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README_en.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ A collection of neural vocoders suitable for singing voice synthesis tasks.
77

88
## Preprocessing
99
Run the following preprocessing script
10-
```angular2html
10+
```sh
1111
python process.py --config (your config path) --num_cpu (Number of cpu threads used in preprocessing) --strx (1 for a forced absolute path 0 for a relative path)
1212
```
1313
The following configuration items are what you need to change during preprocessing
14-
```angular2html
14+
```yaml
1515

1616
data_input_path: [] the path for your data
1717

@@ -20,7 +20,7 @@ data_out_path: [] the path for the preprocessed output
2020
val_num: 1 the number of validation audio
2121
```
2222
An example
23-
```
23+
```yaml
2424
data_input_path: ['wav/in1','wav/in2']
2525

2626
data_out_path: ['wav/out1','wav/out2']
@@ -37,11 +37,11 @@ val_num: 5 # This is the number of valves you want.
3737

3838
## Training
3939
Run the following training script
40-
```angular2html
40+
```sh
4141
python train.py --config (your config path) --exp_name (your ckpt name) --work_dir (working directory, optional)
4242
```
4343
Configuration items under test
44-
```angular2html
44+
```yaml
4545
use_stftloss: false (Whether to use stft loss)
4646
lab_aux_melloss: 45
4747
lab_aux_stftloss: 2.5 (The mixing ratio of the two losses)
@@ -50,13 +50,13 @@ If you have other needs, you can modify the stftloss related parameters
5050
5151
## Export the checkpoint
5252
if you finish training you can use this script to export the diffsinger vocoder checkpoint
53-
```
53+
```sh
5454
python export_ckpt.py --ckpt_path (your ckpt path) --save_path (output ckpt path) --work_dir (working directory, optional)
5555
```
5656

5757
# Offline data augmentation
5858
Replace the preprocessing script with [process_aug.py](process_aug.py) and add configuration entries
59-
```
59+
```yaml
6060
key_aug: false (Do not augment during training)
6161
aug_min: 0.9 (Minimum f0 adjustment multiplier)
6262
aug_max: 1.4 (Maximum f0 adjustment multiplier)
@@ -66,7 +66,7 @@ That's it. Note that data augmentation may damage the sound quality!
6666
6767
# Online data augmentation (recommend)
6868
Note that to use the online data augmentation, use the [process.py](process.py) script, otherwise offline and online augmentation will be superimposed
69-
```angular2html
69+
```yaml
7070
key_aug: true (Do augment during training)
7171
key_aug_prob: 0.5 (Data augmentation probability)
7272
aug_min: 0.9 (Minimum f0 adjustment multiplier)

0 commit comments

Comments
 (0)