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
CarRacing-v0 Window size issues #1268
Comments
Here's a hack that i found to work. Change line 386 of car_racing.py to: I believe the issue is that our mac screen sizes are too small for the assumed 1200x1000. Alternatively you can change the DPI. |
Thanks! I'll give it a shot |
This looks like a pyglet issue, what's the output of |
Closing due to inactivity. |
I am running into the same issue. By changing the line to The output of
Thank you very much in advance! |
To add onto clvoloshin's answer, in line 47 of car_racing.py, you can change the value of WINDOW_H to a lesser value. EG 800 works for me. Naturally you can change lines 46 and 47 to create a window that fits your needs. |
When I run the following snippet in Jupyter Notebook:
It pops up a window that appears to be larger than the environment, with much of the window being clipped:
Is there a way to resize the window? Any workaround ideas?
Versions
The text was updated successfully, but these errors were encountered: