-
Notifications
You must be signed in to change notification settings - Fork 239
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
Environment seeding doesn't allow reproducibility #80
Comments
Thanks for opening the issue, and sorry for the delayed reply. I think you're right, the way we set the seeds in our code does not guarantee full reproducibility but only that the randomizations are different across the runs. Without looking too deep into this, I think the env seeding is the only one that's currently making things not reproducible. I would solve this by setting the softlearning/examples/development/main.py Line 39 in 34ee921
I can try looking into this at some point, but feel free to submit out a PR if you want to take a stab at it in the meanwhile. |
Sorry about closing and opening the issue (misclick). I'm happy to send a PR in. It's literally 2 lines : ). |
Hi Hartikainen,
Thank you for maintaining the repo. Sorry if this is done elsewhere in the code, but shouldn't we set the seed of the environments (both training and eval) after creating them here for reproducibility purposes?
softlearning/examples/development/main.py
Line 49 in 1f6686d
Gym maintains its own internal copy of numpy and use that internal copy to sample the initial state. Setting the seed of the global numpy module does not affect this internal copy of numpy.
Thanks!
The text was updated successfully, but these errors were encountered: