You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromgym_derk.envsimportDerkEnvenv=DerkEnv(
n_arenas=1# Change to 100 for instance, to run many instances in parallel
)
observation_n=env.reset()
whileTrue:
# Take random actions each stepaction_n= [env.action_space.sample() foriinrange(env.n_agents)]
observation_n, reward_n, done_n, info_n=env.step(action_n)
ifall(done_n):
breakenv.close()
@bwitherspoon Thanks for reporting. From what I can tell, everything should still be working fine, this is just a "cosmetic" error on the env.close call (i.e. everything should still work fine). I'll look into fixing it.
Running the example:
I get the following exception on
env.close()
:The text was updated successfully, but these errors were encountered: