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 DFC2022 dataset #354

Merged
merged 10 commits into from
Jan 12, 2022
Merged

Add DFC2022 dataset #354

merged 10 commits into from
Jan 12, 2022

Conversation

isaaccorley
Copy link
Collaborator

@isaaccorley isaaccorley commented Jan 7, 2022

This PR adds the 2022 IEEE GRSS Data Fusion Contest dataset. The dataset comes with pairs of RGB aerial images, DEM images, and land cover/land use pixelwise labels of 16 categories.

Notes:

  • I scraped the colormap from the homepage so it should be the same.
  • The labels are taken from the Urban Atlas 2012 database and it's not very accurate (there's a lot of "labeled" water in areas where there is no water). Just something to note but will be interesting to see how users try to workaround (or game) this.
  • The images/masks are generally in the ballpark of ~2000x2000. However the DEMs are half the resolution (~1000x1000) so I resample the DEMs to whatever the h/w of the RGB image is

Examples:

image

image

@isaaccorley isaaccorley added the datasets Geospatial or benchmark datasets label Jan 7, 2022
@isaaccorley isaaccorley added this to the 0.3.0 milestone Jan 7, 2022
@isaaccorley isaaccorley self-assigned this Jan 7, 2022
@isaaccorley isaaccorley marked this pull request as draft January 7, 2022 06:41
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 7, 2022
@github-actions github-actions bot added the testing Continuous integration testing label Jan 7, 2022
@isaaccorley isaaccorley marked this pull request as ready for review January 7, 2022 23:54
tests/data/dfc2022/data.py Outdated Show resolved Hide resolved
tests/datasets/test_dfc2022.py Outdated Show resolved Hide resolved
torchgeo/datasets/dfc2022.py Outdated Show resolved Hide resolved
torchgeo/datasets/dfc2022.py Show resolved Hide resolved
torchgeo/datasets/dfc2022.py Show resolved Hide resolved
Copy link
Collaborator

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

One last minor change and this is ready to go

torchgeo/datasets/dfc2022.py Show resolved Hide resolved
adamjstewart
adamjstewart previously approved these changes Jan 12, 2022
@adamjstewart adamjstewart enabled auto-merge (squash) January 12, 2022 22:00
@adamjstewart adamjstewart merged commit 45f3703 into microsoft:main Jan 12, 2022
@isaaccorley isaaccorley deleted the datasets/dfc22 branch January 12, 2022 22:16
@adamjstewart adamjstewart mentioned this pull request Jul 11, 2022
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
* add DFC2022 dataset

* plot fix

* mypy fixes

* add tests and tests data

* maximum coverage

* remove local dir

* update per suggestions

* update monkeypatching

* update docstring

* fix indentation in docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets documentation Improvements or additions to documentation testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants