From 3521dbe471f452441d3cd922bfa695aa7b352a77 Mon Sep 17 00:00:00 2001 From: sp Date: Wed, 3 Jul 2024 09:33:31 +0200 Subject: [PATCH] disabled evalcallback --- examples/shields/rl/13_minigridsb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shields/rl/13_minigridsb.py b/examples/shields/rl/13_minigridsb.py index bc4eea2..3df8cb9 100644 --- a/examples/shields/rl/13_minigridsb.py +++ b/examples/shields/rl/13_minigridsb.py @@ -87,7 +87,7 @@ def main(): imageAndVideoCallback = ImageRecorderCallback(eval_env, render_freq, n_eval_episodes=1, evaluation_method=evaluate_policy, log_dir=log_dir, deterministic=True, verbose=0) - model.learn(steps,callback=[evalCallback, imageAndVideoCallback, InfoCallback()]) + model.learn(steps,callback=[imageAndVideoCallback, InfoCallback()]) model.save(f"{log_dir}/{expname(args)}")