Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Fixing IndexError on grouped_batch_sampler.py #656

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

LeviViana
Copy link
Contributor

Fixing #474 and #55.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 9, 2019
@LeviViana LeviViana requested a review from fmassa April 9, 2019 20:53
Copy link
Contributor

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

I'm not sure this is the right fix, even though it might look like it avoids having the error.

I think the best solution here is to use the sampler from torchvision, which I believe handles all those cases properly

@botcs
Copy link
Contributor

botcs commented Sep 16, 2019

Hey @LeviViana,

Thanks for your fix.
Could you please update the PR according to @fmassa's request?

@botcs botcs added bug Something isn't working contributions welcome labels Sep 16, 2019
@LeviViana
Copy link
Contributor Author

@botcs, I guess this is it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working CLA Signed Do not delete this pull request or issue due to inactivity. contributions welcome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants