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

How to set random seed? #61

Closed
quanvuong opened this issue Apr 6, 2019 · 1 comment
Closed

How to set random seed? #61

quanvuong opened this issue Apr 6, 2019 · 1 comment

Comments

@quanvuong
Copy link

Thanks for the repo!

How can I set the random seed for a run? There doesn’t seem to be an option to set the seed using command line arguments.

@hartikainen
Copy link
Member

Currently the seed is hard coded in the variants. You can change it here:

'seed': tune.sample_from(

That seed is then fed to this function:

def set_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