提交 58daf805 编写于 作者: G gaotingquan 提交者: Wei Shengyu

debug

上级 c30df630
......@@ -44,14 +44,14 @@ class Engine(object):
self.mode = mode
self.config = config
# set seed
self._init_seed()
# init logger
log_file = os.path.join(self.config['Global']['output_dir'],
self.config["Arch"]["name"], f"{mode}.log")
init_logger(log_file=log_file)
# set seed
self._init_seed()
# set device
self._init_device()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册