From abf208b068c54a740da1a27ea7a941d85753892e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Fri, 13 Sep 2024 11:51:49 +0200 Subject: [PATCH] Update. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 5c086cf..fb8f8cf 100755 --- a/main.py +++ b/main.py @@ -115,7 +115,7 @@ parser.add_argument("--accuracy_to_make_c_quizzes", type=float, default=0.95) parser.add_argument("--prompt_noise", type=float, default=0.05) -parser.add_argument("--nb_hints", type=int, default=5) +parser.add_argument("--nb_hints", type=int, default=25) parser.add_argument("--nb_runs", type=int, default=1) @@ -1305,7 +1305,7 @@ def multithread_execution(fun, arguments): def save_models(models, suffix=""): - if suffix is not "": + if suffix != "": suffix = "_" + suffix for model in models: filename = f"ae_{model.id:03d}{suffix}.pth" -- 2.39.5