Merge branch 'master' of https://github.com/Stardust-minus/Bert-VITS2
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
Cython==0.29.21
|
Cython
|
||||||
librosa==0.9.1
|
librosa==0.9.1
|
||||||
matplotlib==3.3.1
|
matplotlib==3.3.1
|
||||||
numpy
|
numpy
|
||||||
phonemizer==2.2.1
|
phonemizer
|
||||||
scipy==1.5.2
|
scipy
|
||||||
tensorboard==2.3.0
|
tensorboard
|
||||||
torch
|
torch
|
||||||
torchvision
|
torchvision
|
||||||
Unidecode==1.1.1
|
Unidecode
|
||||||
amfm_decompy
|
amfm_decompy
|
||||||
|
jieba
|
||||||
|
transformers
|
||||||
|
pypinyin
|
||||||
|
cn2an
|
||||||
|
|||||||
2
utils.py
2
utils.py
@@ -206,7 +206,7 @@ def clean_checkpoints(path_to_models='logs/44k/', n_ckpts_to_keep=2, sort_by_tim
|
|||||||
|
|
||||||
def get_hparams_from_dir(model_dir):
|
def get_hparams_from_dir(model_dir):
|
||||||
config_save_path = os.path.join(model_dir, "config.json")
|
config_save_path = os.path.join(model_dir, "config.json")
|
||||||
with open(config_save_path, "r") as f:
|
with open(config_save_path, "r", encoding='utf-8') as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
config = json.loads(data)
|
config = json.loads(data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user