if result_dir is not None:
self.problem.save_quizzes(
- self.train_w_quizzes[:72], result_dir, f"culture_w_quizzes", logger
+ self.train_w_quizzes[:72], result_dir, f"culture_w_quizzes"
)
def batches(self, split="train", desc=None):
)
self.problem.save_quizzes(
- result[:72],
- result_dir,
- f"culture_prediction_{n_epoch:04d}_{model.id:02d}",
- logger,
+ result[:72], result_dir, f"culture_prediction_{n_epoch:04d}_{model.id:02d}"
)
return main_test_accuracy