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

[Question] Is it possible that I turn off the auto reset of step_wait() function? #3249

Open
Porthoos opened this issue Nov 24, 2023 · 1 comment

Comments

@Porthoos
Copy link

Question

Hello, I noticed that when I use SyncVectorEnv and AsyncVectorEnv, if I perform step()function and the environment reaches the end, step_wait() function will automatically do reset() function.
However, I have some options to pass to my custom environment, and this working mechanism stops me from doing that. Is it possible that I can turn off the auto reset, or can I pass options only for reset() through step()?

@pseudo-rnd-thoughts
Copy link
Contributor

Hey, development on Gym has stopped and has been transferred over to Gymnasium, read the blog post for why, https://farama.org/Announcing-The-Farama-Foundation

For your question, yes there is no way of disabling autoreset currently however would be interested in adding it within Gymnasium if you want to make a PR over there

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