提交 578054dd 编写于 作者: T Tingquan Gao

Revert "debug for infer"

This reverts commit 428edb6f.
上级 fee238ff
...@@ -43,8 +43,6 @@ class Engine(object): ...@@ -43,8 +43,6 @@ class Engine(object):
assert mode in ["train", "eval", "infer", "export"] assert mode in ["train", "eval", "infer", "export"]
self.mode = mode self.mode = mode
self.config = config self.config = config
self.eval_mode = self.config["Global"].get("eval_mode",
"classification")
# init logger # init logger
log_file = os.path.join(self.config['Global']['output_dir'], log_file = os.path.join(self.config['Global']['output_dir'],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册