-
Notifications
You must be signed in to change notification settings - Fork 209
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
gym rendering #48
Comments
I'm probably missing something but it's not clear to me how to use When I do: I get: Traceback (most recent call last):
...
File "~/mtrazzi/procgen/lib/python3.7/site-packages/procgen/gym_registration.py", line 9, in make_env
env = ProcgenGym3Env(num=1, num_threads=0, **kwargs)
File "~/mtrazzi/procgen/lib/python3.7/site-packages/procgen/env.py", line 246, in __init__
super().__init__(num, env_name, options, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'render_human' And when I do I get:
Would be great to have minimal examples on how to render things in the README. On a related note, when trying to render with Thanks! |
@mtrazzi what's the output of |
(Note: I changed computer but I get the same tracebacks.)
After updating procgen to Also, I got an answer for the NeurIPS competition, and apparently adding a |
In the future to avoid this sort of stuff, the |
The docs are updated, |
Hi, thanks for updating the docs. It seems that passing render_mode='rgb_array' works fine and sets configs correctly. Now the question is how to get a video from rollouts, and it seems that gym3's When I replace the identity env in video_recorder_test.py by I get
and when I replace it with I get
Simply using a Monitor doesn't seem to work for gym3/procgen environments so having a demo for video seems useful. Thanks |
Update: problem is solved, code for a video of coinrun here. |
That code seems fine, |
Here is an example script for future reference:
|
render=True
is confusing, should be thatrender_mode="human"
triggers the windowThe text was updated successfully, but these errors were encountered: