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

Add random sampling scheme #5

Open
jejjohnson opened this issue Feb 15, 2024 · 0 comments
Open

Add random sampling scheme #5

jejjohnson opened this issue Feb 15, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@jejjohnson
Copy link
Owner

jejjohnson commented Feb 15, 2024

Taking inspiration from rastervision, our current implemention is the equivalent of a sliding window dataset. However, I see a very nice use case where we could use a random sampler to randomly sample patches. This would be useful for training whereby we do not need any criteria for sampling. This also makes training easier for cases where we can simply training with maximum iterations instead of epochs.

Possible Add-On - we could also sample according to some criteria (perhaps user specified). For example, a brightest pixel function or some other criteria.

TorchGeo - Sampler API - code

@jejjohnson jejjohnson added enhancement New feature or request good first issue Good for newcomers documentation Improvements or additions to documentation labels Feb 15, 2024
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 enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant