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

Reproducibility issue #2332

Open
YY-GX opened this issue Oct 17, 2022 · 1 comment
Open

Reproducibility issue #2332

YY-GX opened this issue Oct 17, 2022 · 1 comment

Comments

@YY-GX
Copy link

YY-GX commented Oct 17, 2022

Hi all, I've used the deterministic.set_seed but still get different results. It seems that the samples that start from itr2 become different (itr0 & itr1 are the same). Do you have ideas about this issue?

@sadegh16
Copy link

sadegh16 commented Nov 1, 2022

I think you need to set environment seed too as follows:

env._env.seed(seed) env.action_space.seed(seed)

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