From 38db2dc25947db6be7497e6424726135926ffd4a Mon Sep 17 00:00:00 2001 From: Glynn Chaldecott Date: Fri, 8 Mar 2024 10:03:58 +0000 Subject: [PATCH] fix: removed env_id from make statement, as nolonger supported --- 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 aa893693..6c48f6c3 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(env_id=name) # , render_mode=render_mode) + self.env = gym.make(name) # , render_mode=render_mode) self.action_space = self.env.action_space self.encoder = encoder