This commit is contained in:
litagin02
2023-12-30 00:46:33 +09:00
parent 82ef037b91
commit 939cf3ec05
5 changed files with 32 additions and 10 deletions

View File

@@ -348,7 +348,7 @@ def clean_checkpoints(path_to_models="logs/44k/", n_ckpts_to_keep=2, sort_by_tim
]
def del_info(fn):
return logger.info(f".. Free up space by deleting ckpt {fn}")
return logger.info(f"Free up space by deleting ckpt {fn}")
def del_routine(x):
return [os.remove(x), del_info(x)]