From 0ff10e2fc72303dbb121b3edfd52001f5b97dc72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Wed, 10 Jul 2024 16:42:49 +0200 Subject: [PATCH] Update. --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index d2ac744..c655084 100755 --- a/main.py +++ b/main.py @@ -663,7 +663,10 @@ for n_epoch in range(args.nb_epochs): log_string( f"cache_w_quizzes contains {quiz_machine.problem.nb_cached_quizzes()} quizzes" ) - quiz_machine.renew_w_quizzes(model, args.nb_train_samples // args.nb_gpts) + + # Renew entirely the train set + + quiz_machine.renew_w_quizzes(model, args.nb_train_samples) ################################################## # If all the models are good enough, generate new quizzes and -- 2.39.5