-
Notifications
You must be signed in to change notification settings - Fork 378
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
Updated ChesapeakeCVPR to use NLCD colormap #1690
Conversation
@microsoft-github-policy-service agree |
I like this change @alhridoy, thanks for the contribution! Let me know if you want help with the linters / mypy / etc. |
Hi @adamjstewart @calebrob6 I've made the changes as per your suggestions. I've removed the |
Ping @alhridoy |
There are now no changes lol. |
Hi @adamjstewart, I've made the changes as per your suggestions and committed them. Could you please check and confirm if everything is in order now? Thanks for your guidance and patience. |
Still need to do this:
|
Regarding your suggestion to remove the
|
Yes, for ChesapeakeCVPR. The Chesapeake class doesn't include NLCD data. |
After removing the nlcd_cmap I've noticed that some of the checks are failing for my recent commit, specifically the |
Seems like an intermittent issue, restarting the test solved it. |
Thank you for your patient and guidance throughout the PR. I am happy to contribute. |
Thanks for contributing! Hopefully the first of many 😄 |
Fixes #1264
This PR updates the ChesapeakeCVPR class in
torchgeo/datasets/chesapeake.py
to use the colormap from the NLCD dataset.Changes include:
self.cmap
toNLCD.cmap
in the__init__
method of theChesapeakeCVPR
class._nlcd_cmap
that returnsself.cmap
.