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
{{ message }}
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
Hi, thank you for the program. I get from the server side following Render not defined.
Render not defined for <baselines.common.vec_env.subproc_vec_env.SubprocVecEnv object at 0x7f99daea02b0> Render not defined for <baselines.common.vec_env.subproc_vec_env.SubprocVecEnv object at 0x7f99daea02b0>
I also tried a simple example that worked:
import gym import time env = gym.make('CartPole-v0') env.reset() for _ in range(1000): env.render() env.step(env.action_space.sample()) #take a random action time.sleep(0.03) env.close()
I tried several environments, not only CartPole-v0
I also tried to set the env_id on the server side def make_env(env_id, seed, rank): def _thunk(): env = gym.make(env_id)
I hope someone can help with that problem.
best, Michael
The text was updated successfully, but these errors were encountered:
Hi, thank you for the program. I get from the server side following Render not defined.
Render not defined for <baselines.common.vec_env.subproc_vec_env.SubprocVecEnv object at 0x7f99daea02b0> Render not defined for <baselines.common.vec_env.subproc_vec_env.SubprocVecEnv object at 0x7f99daea02b0>
I also tried a simple example that worked:
import gym import time env = gym.make('CartPole-v0') env.reset() for _ in range(1000): env.render() env.step(env.action_space.sample()) #take a random action time.sleep(0.03) env.close()
I tried several environments, not only
CartPole-v0
I also tried to set the env_id on the server side
def make_env(env_id, seed, rank): def _thunk(): env = gym.make(env_id)
I hope someone can help with that problem.
best, Michael
The text was updated successfully, but these errors were encountered: