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

Consistent resetting through np.random.Generator #232

Open
eugeneteoh opened this issue Jun 13, 2024 · 1 comment
Open

Consistent resetting through np.random.Generator #232

eugeneteoh opened this issue Jun 13, 2024 · 1 comment

Comments

@eugeneteoh
Copy link
Contributor

Currently, resetting is not consistent due to two things:

By using np.random.Generator, we can have a seed for a Scene instance, allowing potentially allowing more determinism.
https://github.com/Farama-Foundation/Gymnasium/blob/main/gymnasium/utils/seeding.py

@xsw1208
Copy link

xsw1208 commented Jun 23, 2024

Great, I also find that even if I have set global random seed, the boundary and object position varies.

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