From 31d833bc572e74f74689a33ebc200e329d89ff3c Mon Sep 17 00:00:00 2001 From: sp Date: Thu, 14 Mar 2024 21:46:06 +0100 Subject: [PATCH] disable learning --- 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 e2d5c41..9f61046 100644 --- a/examples/shields/rl/13_minigridsb.py +++ b/examples/shields/rl/13_minigridsb.py @@ -88,7 +88,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) - + assert(False) model.learn(steps,callback=[imageAndVideoCallback, InfoCallback(), evalCallback]) model.save(f"{log_dir}/{expname(args)}")