From 526a430c2adf2287d22697b8e2800128e7a42060 Mon Sep 17 00:00:00 2001 From: mrq Date: Wed, 22 Feb 2023 13:24:03 +0000 Subject: [PATCH] how did this revert... --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index 57b491f..10e9a4e 100755 --- a/src/utils.py +++ b/src/utils.py @@ -692,7 +692,7 @@ def save_training_settings( iterations=None, batch_size=None, learning_rate=None settings['resume_state'] = f"# resume_state: './training/{name if name else 'finetune'}/training_state/#.state'" if half_p: - if not os.path.exists(get_halfp_model()): + if not os.path.exists(get_halfp_model_path()): convert_to_halfp() if not output_name: