From e2669de662e4ef6fda00b8a8509d3753fad1033b Mon Sep 17 00:00:00 2001 From: Glynn Chaldecott Date: Fri, 8 Mar 2024 10:53:30 +0000 Subject: [PATCH] fix: added render mode back in, was commented for some reason --- bindsnet/environment/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindsnet/environment/environment.py b/bindsnet/environment/environment.py index 6c48f6c3..d10c4ed1 100644 --- a/bindsnet/environment/environment.py +++ b/bindsnet/environment/environment.py @@ -89,7 +89,7 @@ def __init__( 2D inputs. """ self.name = name - self.env = gym.make(name) # , render_mode=render_mode) + self.env = gym.make(id=name, render_mode=render_mode) self.action_space = self.env.action_space self.encoder = encoder