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 plot method to (most) DataModules #814

Merged
merged 17 commits into from
Oct 18, 2022
Merged

Add plot method to (most) DataModules #814

merged 17 commits into from
Oct 18, 2022

Conversation

adamjstewart
Copy link
Collaborator

@adamjstewart adamjstewart commented Oct 4, 2022

Now that (almost) all of our Datasets have a plot method, our DataModules should too. This PR adds a plot method to all DataModules except:

  • Chesapeake
  • Cyclone
  • OSCD
  • SEN12MS

all of which require custom logic to undo transforms. This can be saved for an adventurous contributor in a follow-up PR.

@adamjstewart adamjstewart added this to the 0.4.0 milestone Oct 4, 2022
@github-actions github-actions bot added datamodules PyTorch Lightning datamodules testing Continuous integration testing datasets Geospatial or benchmark datasets labels Oct 4, 2022
@adamjstewart
Copy link
Collaborator Author

Okay, I backed out a few datamodule plot methods that were broken. Those can be added one at a time in future PRs by anyone who cares. I'm still hoping to add plot methods to most datamodules, even if normalization may make visualization a bit broken. I'm not really sure what to do about those other than undo datamodule-specific normalizations inside datamodule plot methods before passing to dataset plot methods.

@adamjstewart adamjstewart changed the title Add plot method to all DataModules Add plot method to (most) DataModules Oct 14, 2022
@adamjstewart adamjstewart merged commit f752d99 into main Oct 18, 2022
@adamjstewart adamjstewart deleted the datamodules/plot branch October 18, 2022 18:25
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
datamodules PyTorch Lightning datamodules datasets Geospatial or benchmark datasets testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants