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

DistributedWeightedRandomSampler remove shuffle=False option #6885

Closed
wyli opened this issue Aug 17, 2023 · 1 comment · Fixed by #6886
Closed

DistributedWeightedRandomSampler remove shuffle=False option #6885

wyli opened this issue Aug 17, 2023 · 1 comment · Fixed by #6886

Comments

@wyli
Copy link
Contributor

wyli commented Aug 17, 2023

Describe the bug

shuffle: bool = True,

the random sampler will always generate 'shuffled' outputs, the shuffle=False option is not valid and should be removed

@AmirAflak
Copy link
Contributor

Would like to take this.

wyli pushed a commit that referenced this issue Aug 18, 2023
Fixes #6885 

### Description

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.

---------

Signed-off-by: Amirreza Aflakparast <84932095+AmirAflak@users.noreply.github.com>
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants