Skip to content

Use rng_seed param when creating custom dataset sampler - #3592

Merged
shahules786 merged 2 commits into
mainfrom
custom_sampler_use_rng_seed
Jul 21, 2023
Merged

Use rng_seed param when creating custom dataset sampler#3592
shahules786 merged 2 commits into
mainfrom
custom_sampler_use_rng_seed

Conversation

@andreaskoepf

Copy link
Copy Markdown
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).

@jordiclive jordiclive left a comment

Copy link
Copy Markdown
Collaborator

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
@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.

3 participants