We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3aef3 commit 790deaaCopy full SHA for 790deaa
1 file changed
algorithmic_efficiency/logger_utils.py
@@ -73,14 +73,9 @@ def get_log_dir(
73
'to resume training from this dir? [y/N]:'.format(experiment_path))
74
if USE_PYTORCH_DDP:
75
dist.barrier()
76
- try:
77
- if resume.lower() != 'y':
78
- sys.exit()
79
- except RuntimeError:
+ if resume.lower() != 'y':
80
sys.exit()
81
82
- if USE_PYTORCH_DDP:
83
- dist.barrier()
84
logging.info(f'Creating experiment directory at {experiment_path}.')
85
makedir(experiment_path)
86
return experiment_path
0 commit comments