Skip to content

Commit

Permalink
doc: update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
syq163 committed Dec 15, 2023
1 parent d32305f commit 05b52e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Config:
#### PATH ####
ROOT_DIR = os.path.dirname(os.path.abspath("__file__"))
DATA_DIR = ROOT_DIR + "/<DATA_DIR>"
# Change datalist.jsonl to datalist_mfa.jsonl if you have run MFA
train_data_path = DATA_DIR + "/train/datalist.jsonl"
valid_data_path = DATA_DIR + "/valid/datalist.jsonl"
output_directory = ROOT_DIR + "/<EXP_DIR>"
Expand All @@ -44,7 +45,7 @@ class Config:
bert_path = 'WangZeJun/simbert-base-chinese'
token_list_path = ROOT_DIR + "/<INFO_DIR>/tokenlist"
style_encoder_ckpt = ROOT_DIR + "/outputs/style_encoder/ckpt/checkpoint_163431"
tmp_dir = ROOT_DIR + "/tmp"
tmp_dir = output_directory + "/tmp"
model_config_path = ROOT_DIR + "/config/joint/config.yaml"

#### Model ####
Expand Down
2 changes: 1 addition & 1 deletion data/LJspeech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Training tips:
tensorboard --logdir=exp/LJspeech
```
- The model checkpoints are saved at `exp/LJspeech/ckpt`.
- The bert features are extracted in the first epoch and saved in `tmp/` folder, you can change the path in `exp/LJspeech/config/config.py`.
- The bert features are extracted in the first epoch and saved in `exp/LJspeech/tmp/` folder, you can change the path in `exp/LJspeech/config/config.py`.


### Step5 Inference
Expand Down

0 comments on commit 05b52e2

Please sign in to comment.