Skip to content
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

Could you update the code for drawing “gif” renderings? #3

Open
yerd420902 opened this issue Nov 25, 2021 · 1 comment
Open

Comments

@yerd420902
Copy link

yerd420902 commented Nov 25, 2021

Could you update the code for drawing “gif” ?thanks

@jiupinjia
Copy link
Owner

Hi @yerd420902, thanks for your feedback. You can update line 26 of example_inference.py to
frame_0, frame_1 = env.render(window_name='test')

In this case, frame_0 and frame_1 will be two NumPy arrays of adjacent frames. You can save them into a video or a gif or any format you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants