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

Using random in multiprocess #9

Open
gioipv opened this issue Mar 17, 2021 · 0 comments
Open

Using random in multiprocess #9

gioipv opened this issue Mar 17, 2021 · 0 comments

Comments

@gioipv
Copy link

gioipv commented Mar 17, 2021

In our source code, i think we should use 'np.random.RandomState()' instead of 'np.random' because of when we use multiprocess; np.random.choice with multiprocessing returns identical values more often than single processing.
refer: numpy/numpy#12231

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

1 participant