Skip to content

Commit

Permalink
Merge pull request #675 from Keserak/fix/gym
Browse files Browse the repository at this point in the history
fix: removed env_id from make statement, as nolonger supported
  • Loading branch information
Hananel-Hazan authored Mar 29, 2024
2 parents d9fed4a + e2669de commit b2c9fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindsnet/environment/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(id=name, render_mode=render_mode)
self.action_space = self.env.action_space

self.encoder = encoder
Expand Down

0 comments on commit b2c9fbb

Please sign in to comment.