Skip to content

Commit 5fa2995

Browse files
committed
👜 Add README.
1 parent a255148 commit 5fa2995

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/fastspeech2/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ If you want to finetune a model, use `--pretrained` like this with your model fi
3636
--pretrained pretrained.h5
3737
```
3838

39+
You can also define `var_train_expr` in config file to let model training only on some layers in case you want to fine-tune on your dataset with the same pretrained language and processor. For example, `var_train_expr: "embeddings|encoder|decoder"` means we just training all variables that `embeddings`, `encoder`, `decoder` exist in its name.
40+
3941

4042
### Step 3: Decode mel-spectrogram from folder ids
4143

examples/tacotron2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ tacotron2 = TFTacotron2(config=tacotron_config, training=True, name='tacotron2')
8787
tacotron2._build()
8888
tacotron2.summary()
8989
tacotron2.load_weights("./examples/tacotron2/exp/train.tacotron2.v1/checkpoints/model-120000.h5", by_name=True, skip_mismatch=True)
90-
9190
... # training as normal.
9291
```
92+
You can also define `var_train_expr` in config file to let model training only on some layers in case you want to fine-tune on your dataset with the same pretrained language and processor. For example, `var_train_expr: "embeddings|encoder|decoder"` means we just training all variables that `embeddings`, `encoder`, `decoder` exist in its name.
9393

9494
## Results
9595
Here is a result of tacotron2 based on this config [`tacotron2.v1.yaml`](https://github.com/dathudeptrai/TensorflowTTS/blob/tacotron-2-example/examples/tacotron-2/conf/tacotron2.v1.yaml) but with reduction_factor = 7, we will update learning curves for reduction_factor = 1.

0 commit comments

Comments
 (0)