-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rendering: save animation as files #22
Comments
The following code works with gym-envs on a local computer. Hopefully it can be easily transferred to other settings.
|
What is the env? env.render i dont know the method |
render() is a standard method for envs from the gym (and gymnasium) API, see https://www.gymlibrary.dev/api/core/#gym.Env.render |
Uups, I just noticed that there is a bug in the while loop. It should look like this:
|
Would it be possible to test whether the RenderTool and Flatland could benefit from your renderToVideo experiments? See as well: https://github.com/RoboEden/flatland-marl/blob/3344327cbf81ef90dd7b26c2ee53838e7aae9e8e/solution/demo.py#L106 - this video rendering is working well : https://github.com/RoboEden/flatland-marl/blob/main/solution/utils/video_writer.py , |
I added a version 2 of the Colab notebook with a simple extension: |
I realized that uploading my notebook failed (it's not my notebook) and I could not manage to upload it so far. It's always just a copy of the original notebook!?! Any ideas what I'm doing wrong? |
I once again checked my uploaded notebook (simple_animation_demo_2.ipynb) and found that it is indeed complete and includes my additions. It just does not show the additional cells when browsing the file on github !??! Maybe someone else can check that too. Can the issue then be closed? |
No description provided.
The text was updated successfully, but these errors were encountered: