Improve: automatically generate configs/paths.yml by copying it from configs/default_paths.yml when running initialize.py
If configs/paths.yml itself is included in version control, differences will occur when it is changed in each environment, which is troublesome.
This commit is contained in:
@@ -69,8 +69,9 @@ class TTSModel:
|
||||
# ハイパーパラメータのパスが指定された
|
||||
else:
|
||||
self.config_path: Path = config_path
|
||||
self.hyper_parameters: HyperParameters = \
|
||||
HyperParameters.load_from_json(self.config_path)
|
||||
self.hyper_parameters: HyperParameters = HyperParameters.load_from_json(
|
||||
self.config_path
|
||||
)
|
||||
|
||||
# スタイルベクトルの NDArray が直接指定された
|
||||
if isinstance(style_vec_path, np.ndarray):
|
||||
|
||||
Reference in New Issue
Block a user