torchgeo icon indicating copy to clipboard operation
torchgeo copied to clipboard

Tutorials: use IntersectionDataset in sampler

Open adamjstewart opened this issue 3 years ago • 0 comments

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.

adamjstewart avatar Aug 08 '22 19:08 adamjstewart