upload files

This commit is contained in:
Plachta
2023-02-14 17:51:36 +08:00
parent 3467cb495a
commit 5424334701
5 changed files with 648 additions and 5 deletions
+1 -1
View File
@@ -188,7 +188,7 @@ def get_hparams_from_dir(model_dir):
def get_hparams_from_file(config_path):
with open(config_path, "r") as f:
with open(config_path, "r", encoding="utf-8") as f:
data = f.read()
config = json.loads(data)