Skip to content

Commit

Permalink
fix process_legacy_versions 1.1.0-transition
Browse files Browse the repository at this point in the history
  • Loading branch information
Artrajz committed May 2, 2024
1 parent 0414037 commit 3c5d6b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bert_vits2/bert_vits2.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ def __init__(self, model_path, config, device=torch.device("cpu"), **kwargs):
self.num_tones = num_tones_v111
self.text_extra_str_map.update({"zh": "_v100"})

elif self.version in ["1.1.0-transition"]:
elif self.version in ["1.1.0_transition"]:
"""
chinese-roberta-wwm-ext-large
bert-base-japanese-v3
"""
self.version = "1.1.0-transition"
self.hps_ms.model.n_layers_trans_flow = 3
Expand Down

0 comments on commit 3c5d6b4

Please sign in to comment.