From 432edcc52b910b7a795cf8174471d49082c2221c Mon Sep 17 00:00:00 2001 From: litagin02 Date: Fri, 15 Mar 2024 12:34:54 +0900 Subject: [PATCH] Bump ver, rename configs_jp_extra to config_jp_extra for consistency --- configs/config.json | 2 +- configs/{configs_jp_extra.json => config_jp_extra.json} | 2 +- style_bert_vits2/constants.py | 2 +- style_bert_vits2/models/hyper_parameters.py | 2 +- webui/train.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename configs/{configs_jp_extra.json => config_jp_extra.json} (98%) diff --git a/configs/config.json b/configs/config.json index db0411a..594cd18 100644 --- a/configs/config.json +++ b/configs/config.json @@ -69,5 +69,5 @@ "use_spectral_norm": false, "gin_channels": 256 }, - "version": "2.4.dev0" + "version": "2.4.0" } diff --git a/configs/configs_jp_extra.json b/configs/config_jp_extra.json similarity index 98% rename from configs/configs_jp_extra.json rename to configs/config_jp_extra.json index 23c5fe5..bf5722c 100644 --- a/configs/configs_jp_extra.json +++ b/configs/config_jp_extra.json @@ -76,5 +76,5 @@ "initial_channel": 64 } }, - "version": "2.4.dev0-JP-Extra" + "version": "2.4.0-JP-Extra" } diff --git a/style_bert_vits2/constants.py b/style_bert_vits2/constants.py index aa14331..337cb81 100644 --- a/style_bert_vits2/constants.py +++ b/style_bert_vits2/constants.py @@ -4,7 +4,7 @@ from style_bert_vits2.utils.strenum import StrEnum # Style-Bert-VITS2 のバージョン -VERSION = "2.4.dev0" +VERSION = "2.4.0" # Style-Bert-VITS2 のベースディレクトリ BASE_DIR = Path(__file__).parent.parent diff --git a/style_bert_vits2/models/hyper_parameters.py b/style_bert_vits2/models/hyper_parameters.py index 254b285..feb6bfb 100644 --- a/style_bert_vits2/models/hyper_parameters.py +++ b/style_bert_vits2/models/hyper_parameters.py @@ -1,6 +1,6 @@ """ Style-Bert-VITS2 モデルのハイパーパラメータを表す Pydantic モデル。 -デフォルト値は configs/configs_jp_extra.json 内の定義と概ね同一で、 +デフォルト値は configs/config_jp_extra.json 内の定義と概ね同一で、 万が一ロードした config.json に存在しないキーがあった際のフェイルセーフとして適用される。 """ diff --git a/webui/train.py b/webui/train.py index c4cd60a..eadefaf 100644 --- a/webui/train.py +++ b/webui/train.py @@ -65,7 +65,7 @@ def initialize( ) default_config_path = ( - "configs/config.json" if not use_jp_extra else "configs/configs_jp_extra.json" + "configs/config.json" if not use_jp_extra else "configs/config_jp_extra.json" ) with open(default_config_path, "r", encoding="utf-8") as f: