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

Tutorials: use IntersectionDataset in sampler #707

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Conversation

adamjstewart
Copy link
Collaborator

I believe this was a holdover from 0.1.0 back when IntersectionDataset didn't have its own index. Current best practice is to use IntersectionDataset instead of one of the individual datasets so that the sampler doesn't try to sample outside of the intersection.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Aug 8, 2022
@adamjstewart adamjstewart reopened this Aug 8, 2022
@adamjstewart adamjstewart added this to the 0.3.1 milestone Aug 13, 2022
Copy link
Collaborator

@isaaccorley isaaccorley left a comment

Choose a reason for hiding this comment

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

Lgtm

@adamjstewart adamjstewart merged commit e377c27 into main Aug 17, 2022
@adamjstewart adamjstewart deleted the docs/tutorials branch August 17, 2022 18:49
Modexus pushed a commit to Modexus/torchgeo that referenced this pull request Sep 3, 2022
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants