From ba120d01cfe4fd9d2b599c4f21abefa212c7ba4e Mon Sep 17 00:00:00 2001 From: Z-Fran <49083766+Z-Fran@users.noreply.github.com> Date: Tue, 10 Jan 2023 15:34:32 +0800 Subject: [PATCH] Revert "dump config (#1584)" This reverts commit 5a09a5bf421cd45d1c834176fa6184a5bafa4143. --- tools/train.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/train.py b/tools/train.py index b35db8583a..3bb7b5d5b6 100644 --- a/tools/train.py +++ b/tools/train.py @@ -104,8 +104,6 @@ def main(): # create work_dir mmcv.mkdir_or_exist(osp.abspath(cfg.work_dir)) - # dump config - cfg.dump(osp.join(cfg.work_dir, osp.basename(args.config))) # init the logger before other steps timestamp = time.strftime('%Y%m%d_%H%M%S', time.localtime()) log_file = osp.join(cfg.work_dir, f'{timestamp}.log')