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

faster_rendering #10

Merged
merged 2 commits into from
Nov 21, 2024
Merged

faster_rendering #10

merged 2 commits into from
Nov 21, 2024

Conversation

nicolaloi
Copy link

Call ax.plot() once instead of twice in plot_numpy_bounding_boxes, I got a 40% faster visualization.plot_simulator_state (tested before the introduction of plot_numpy_rays)

@nicolaloi nicolaloi requested a review from alezana November 20, 2024 12:09
@alezana
Copy link
Member

alezana commented Nov 20, 2024

cool :)
could you annotate in the code that boxes and arrows are plotted together?
have you tested it in multi-agent setups? maybe @jubilantrou could test it

@nicolaloi
Copy link
Author

I don't know how to start a multi-agent env.

@jubilantrou
Copy link

I've tested it in the waymax env. Each evaluation process can save around 1 min.

@alezana alezana merged commit 4f318fe into init/az_refactoring Nov 21, 2024
1 check passed
@alezana alezana deleted the faster_rendering branch November 21, 2024 13:08
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

Successfully merging this pull request may close these issues.

plot_simulator_state is too slow for video generation
3 participants