fix rm #420, fix template #426, fix #423

This commit is contained in:
hiyouga
2023-08-09 16:23:31 +08:00
parent 2d90685358
commit 39cd8b6989
3 changed files with 7 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ class Runner:
else:
yield format_info(logger_handler.log, trainer_callback)
if os.path.exists(os.path.join(output_dir), TRAINING_ARGS_NAME):
if os.path.exists(os.path.join(output_dir, TRAINING_ARGS_NAME)):
finish_info = ALERTS["info_finished"][lang]
else:
finish_info = ALERTS["err_failed"][lang]