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

Fix call edt only once #113

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Fix call edt only once #113

merged 2 commits into from
Feb 28, 2024

Conversation

luigiberducci
Copy link
Collaborator

The current gym calls set_map multiple times, every time recomputing the distance transform.
I added a simple check on the track name to avoid recomputing the edt for the same track.

It makes gym.make faster and improves issues related to #106, #107.

@luigiberducci luigiberducci changed the base branch from main to v1.0.0 February 23, 2024 14:08
Copy link
Member

@hzheng40 hzheng40 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@hzheng40 hzheng40 merged commit be29da9 into v1.0.0 Feb 28, 2024
5 checks passed
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.

2 participants