-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PixelObservationWrapper: suppress render window #1770
Comments
@biggzlar you mean |
The only issue is that you can't run these in headless environments. Not sure if that is feasible with the current wrapper, but that would be a valuable addition, I believe. |
Additionally, although these might be corner cases:
|
The issue of headless environments - sure you can! use xfvb-run, or xvfb daemon (here's an example of how we use it in the gym to run CI on the environments: The issue of rendering speed - you are right, the atari to lunar lander comparison is not a very fair one (engine is different, rendering is different etc). Which is not to say LunarLander cannot possibly be optimized to run faster - it probably can; however, to my knowledge rendering and stepping of lunarlander are rarely a bottleneck. Those 15s / iteration - what iteration do you mean? Matplotlib crashing - that's an interesting one (although I suspect that's indeed pyglet or matplotlib issue)... Could you provide more details? I ran
and it worked fine (venv python 3.7 , osx 10.14.6, pyglet==1.3.3, matplotlib==3.1.1) |
Is this implemented already? I did not find any documentation about how to suppress the actual rendering when using PixelObservationWrapper on either box2d or mujoco environments.
The text was updated successfully, but these errors were encountered: