From 51d5095762bcd6b4a2e8dd734fe89b84d2a7d2f5 Mon Sep 17 00:00:00 2001
From: ShiLiang Zhang <sly.zsl@alibaba-inc.com>
Date: 星期一, 04 九月 2023 14:36:08 +0800
Subject: [PATCH] Update README.md
---
egs/aishell/transformer/utils/prepare_checkpoint.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/egs/aishell/transformer/utils/prepare_checkpoint.py b/egs/aishell/transformer/utils/prepare_checkpoint.py
index 4d5e8a0..116fa07 100644
--- a/egs/aishell/transformer/utils/prepare_checkpoint.py
+++ b/egs/aishell/transformer/utils/prepare_checkpoint.py
@@ -16,3 +16,4 @@
except BaseException:
raise BaseException(f"Please download pretrain model from ModelScope firstly.")
shutil.copy(os.path.join(checkpoint_dir, checkpoint_name), os.path.join(pretrained_model_path, "model.pb"))
+ shutil.copy(os.path.join(checkpoint_dir, "config.yaml"), os.path.join(pretrained_model_path, "config.yaml"))
--
Gitblit v1.9.1