Closed d9w closed 4 years ago
Calling env[:reset]
before calling env[:render]
for the first time will make this happen on pybullet envs, and creating a new env for rendering errors.
Running a new environment with env[:render] works, but is very slow. Something about calling pybullet env's render
method from PyCall.jl introduces a large delay.
scripts/gym.jl
now visualizes pybullet envs
This may be an issue in PyCall.jl. Normally env[:render] returns true and displays the environment (for example, for
env = gym.make("CartPole-v0")
, but for pybullet envs this doesn't work: