Skip to content

Commit

Permalink
Revert "dump config (#1584)"
Browse files Browse the repository at this point in the history
This reverts commit 5a09a5b.
  • Loading branch information
Z-Fran authored Jan 10, 2023
1 parent 5a09a5b commit ba120d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit ba120d0

Please # to comment.