From 29799bc52fcba14e71c06c5d95008f576ff65ecd Mon Sep 17 00:00:00 2001 From: sp Date: Mon, 15 Jan 2024 12:36:32 +0100 Subject: [PATCH] resynthesize on reset is default False --- examples/shields/rl/sb3utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shields/rl/sb3utils.py b/examples/shields/rl/sb3utils.py index 454552b..bcae0a3 100644 --- a/examples/shields/rl/sb3utils.py +++ b/examples/shields/rl/sb3utils.py @@ -10,7 +10,7 @@ class MiniGridSbShieldingWrapper(gym.core.Wrapper): def __init__(self, env, shield_handler : MiniGridShieldHandler, - create_shield_at_reset = True, + create_shield_at_reset = False, ): super().__init__(env) self.shield_handler = shield_handler