提交 12e3dd4d 编写于 作者: W wuzewu

fix typo

上级 40e93dc9
...@@ -111,7 +111,7 @@ class Module(object): ...@@ -111,7 +111,7 @@ class Module(object):
model_dir = os.path.join(self.module_dir, MODEL_DIRNAME) model_dir = os.path.join(self.module_dir, MODEL_DIRNAME)
self.exe = fluid.Executor(fluid.CPUPlace()) self.exe = fluid.Executor(fluid.CPUPlace())
self.inference_program, self.feed_target_names, self.fetch_targets = fluid.io.load_inference_model( self.inference_program, self.feed_target_names, self.fetch_targets = fluid.io.load_inference_model(
dirname=os.path.join(model_dir, sign_name, executor=self.exe)) dirname=os.path.join(model_dir, sign_name), executor=self.exe)
# remove feed fetch operator and variable # remove feed fetch operator and variable
ModuleUtils.remove_feed_fetch_op(self.inference_program) ModuleUtils.remove_feed_fetch_op(self.inference_program)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册