提交 b47fa5f5 编写于 作者: T Tingquan Gao

Revert "debug"

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