From 27c11362dd3f4aa4791faccd255e99cb81ace622 Mon Sep 17 00:00:00 2001 From: Matt Li Date: Wed, 20 Nov 2024 20:59:11 -0500 Subject: [PATCH] Remove backup May lead the recurrence problem, make the whole disk full. --- train.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/train.py b/train.py index 166cc4c..a32cbc2 100755 --- a/train.py +++ b/train.py @@ -493,10 +493,10 @@ def get_logger(path): - try: - saveRuntimeCode(os.path.join(args.model_path, 'backup')) - except: - logger.info(f'save code failed~') + # try: + # saveRuntimeCode(os.path.join(args.model_path, 'backup')) + # except: + # logger.info(f'save code failed~') dataset = args.source_path.split('/')[-1] exp_name = args.model_path.split('/')[-2]