diff --git a/pdseg/train.py b/pdseg/train.py index 8738e43ccd95d631efa93e06111c8292ae6d6303..6166603c093a729c49a8a5b272bffe3435ecb96b 100644 --- a/pdseg/train.py +++ b/pdseg/train.py @@ -311,9 +311,6 @@ def train(cfg): exit(1) from tb_paddle import SummaryWriter - - if os.path.exists(args.tb_log_dir): - shutil.rmtree(args.tb_log_dir) log_writer = SummaryWriter(args.tb_log_dir) global_step = 0