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

Use rng_seed param when creating custom dataset sampler #3592

Merged
merged 2 commits into from Jul 21, 2023

Conversation

andreaskoepf
Copy link
Collaborator

Use the rng_seed configuration parameter in class PerDatasetSampler.build_sampler_from_config() static factory class method. Until now always the fixed default value of 0 was used as seed for the dataset sampling (which I think was as a bug).

Copy link
Collaborator

@jordiclive jordiclive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@shahules786 shahules786 merged commit 6336f31 into main Jul 21, 2023
1 check passed
@shahules786 shahules786 deleted the custom_sampler_use_rng_seed branch July 21, 2023 17:38
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

Successfully merging this pull request may close these issues.

None yet

3 participants