提交 26823847 编写于 作者: littletomatodonkey's avatar littletomatodonkey

fix arch

上级 9e57a5b5
...@@ -106,7 +106,7 @@ def load_params(exe, prog, path, ignore_params=[]): ...@@ -106,7 +106,7 @@ def load_params(exe, prog, path, ignore_params=[]):
fluid.io.set_program_state(prog, state) fluid.io.set_program_state(prog, state)
def init_model(config, program, exe, prefix="ppcls"): def init_model(config, program, exe, prefix=""):
""" """
load model from checkpoint or pretrained_model load model from checkpoint or pretrained_model
""" """
......
...@@ -96,7 +96,7 @@ def main(args): ...@@ -96,7 +96,7 @@ def main(args):
if epoch_id % config.save_interval == 0: if epoch_id % config.save_interval == 0:
model_path = os.path.join(config.model_save_dir, model_path = os.path.join(config.model_save_dir,
config.architecture) config.ARCHITECTURE)
save_model(train_prog, model_path, epoch_id) save_model(train_prog, model_path, epoch_id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册