-
Notifications
You must be signed in to change notification settings - Fork 172
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
render_mode=False is useless. Fake option not to render #32
Comments
@whoIsTheGingerBreadMan did you ever fix this? |
True and False only determines the render format (rgb_array vs human). Regardless of your choice the environment will still render. Is there a reason why it's necessary to render the environment @hardmaru ? |
I never fixed this. I think I went down the rabbit hole into the open ai gym code at some point and found that there was some weird thing with one of the dependencies that didn't play well with others... It's been a while... |
It's been a while since I looked at this, but if I remember correctly, for CarRacing-v0, the environment still "renders" something since it needs to rely on OpenGL to spit out an image that it can resize into a numpy array for the agent's visual inputs. I wished the original env was not based on OpenGL, and rendered directly to numpy, even if it were slower... would have saved me a lot of headaches. |
render_mode = False means there is 'rgb_array' instead of 'human'. Somehow it still renders.
The text was updated successfully, but these errors were encountered: