update readme
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🌿
|
|
4 |
colorFrom: green
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: green
|
5 |
colorTo: gray
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.7
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
训练命令.md
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
1. 音频重采样
|
2 |
-
|
3 |
-
```bash
|
4 |
-
python resample.py --in_dir=./raw --out_dir=./Data
|
5 |
-
```
|
6 |
-
|
7 |
-
2. 生成标注文件
|
8 |
-
|
9 |
-
```bash
|
10 |
-
python preprocess_text.py --transcription-path=filelists/johnny_v2.list --train-path=filelists/train.list --val-path=filelists/val.list --config-path=configs/config.json
|
11 |
-
```
|
12 |
-
|
13 |
-
3. 生成 bert 配置
|
14 |
-
|
15 |
-
```bash
|
16 |
-
python bert_gen.py --config=configs/config.json --num_processes=8
|
17 |
-
python emo_gen.py --config=configs/config.json --num_processes=8
|
18 |
-
```
|
19 |
-
|
20 |
-
4. 训练
|
21 |
-
|
22 |
-
-m johnny 参数为使用 logs/johnny 内的模型开始训练
|
23 |
-
|
24 |
-
```bash
|
25 |
-
python train_ms.py --model=johnny_v2 --config=configs/config.json
|
26 |
-
```
|
27 |
-
|
28 |
-
5. 推理
|
29 |
-
|
30 |
-
```bash
|
31 |
-
python webui.py
|
32 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|