From d1326671384795c40bdca619f8dc50f3e3c33fbe Mon Sep 17 00:00:00 2001 From: leno3003 Date: Tue, 29 Mar 2022 09:23:26 +0200 Subject: [PATCH] automatized arguments with pickle --- mainscripts/Trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainscripts/Trainer.py b/mainscripts/Trainer.py index 061b9c6..54234a6 100644 --- a/mainscripts/Trainer.py +++ b/mainscripts/Trainer.py @@ -163,7 +163,7 @@ def trainerThread (s2c, c2s, e, model_save() is_reached_goal = True io.log_info ('You can use preview now.') - os._exit(1) + exit(0) need_save = False while time.time() - last_save_time >= save_interval_min*60: