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 plotting method for CV4A Kenya Crop Type Dataset #312

Merged
merged 5 commits into from
Dec 29, 2021

Conversation

nilsleh
Copy link
Collaborator

@nilsleh nilsleh commented Dec 20, 2021

Proposition for adding a plotting method to this dataset.

As the image is a timeseries, the plotting method has a time_step variable that lets the user specify which timestep should be shown. I am not sure if that is how you would like to handle this, so open for suggestions.

Example plot
kenyaCrop
:

@adamjstewart adamjstewart added the datasets Geospatial or benchmark datasets label Dec 20, 2021
@adamjstewart adamjstewart added this to the 0.2.0 milestone Dec 20, 2021
@calebrob6
Copy link
Member

Yeah I like this idea a lot actually, previously I had just hardcoded like the first 5 images I think.

tests/datasets/test_cv4a_kenya_crop_type.py Show resolved Hide resolved
torchgeo/datasets/cv4a_kenya_crop_type.py Outdated Show resolved Hide resolved
torchgeo/datasets/cv4a_kenya_crop_type.py Outdated Show resolved Hide resolved
torchgeo/datasets/cv4a_kenya_crop_type.py Outdated Show resolved Hide resolved
@adamjstewart adamjstewart mentioned this pull request Dec 21, 2021
19 tasks
tests/datasets/test_cv4a_kenya_crop_type.py Outdated Show resolved Hide resolved
tests/datasets/test_cv4a_kenya_crop_type.py Outdated Show resolved Hide resolved
torchgeo/datasets/cv4a_kenya_crop_type.py Outdated Show resolved Hide resolved
@github-actions github-actions bot added the testing Continuous integration testing label Dec 29, 2021
@adamjstewart adamjstewart merged commit a9f004e into microsoft:main Dec 29, 2021
@adamjstewart adamjstewart added utilities Utilities for working with geospatial data and removed utilities Utilities for working with geospatial data labels Jan 2, 2022
@nilsleh nilsleh deleted the kenya_crop branch February 16, 2022 13:21
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
* Add plotting method for CV4A Kenya Crop Type Dataset

* remove print statements, still fix test_plot

* fix rgb plot test

* fix rgb plot test

* requested changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants