Revert "debug"

This reverts commit 58daf805a9.
pull/2701/head
Tingquan Gao 2023-03-14 16:16:40 +08:00
parent 8adb5f4a32
commit b47fa5f50e
1 changed files with 3 additions and 3 deletions

View File

@ -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()