Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Adam J. Stewart 9df08d0ff5
Cloud Cover: radiant mlhub -> source cooperative (#2117) 2024-07-10 17:39:57 +02:00
Adam J. Stewart b09122f3e4
Ruff: prefer single quotes over double quotes (#2001)
* Ruff: prefer single quotes over double quotes

* Apply ruff format
2024-05-03 19:30:14 +02:00
Adam J. Stewart 9e57f27818
CDL/NLCD/SSL4EO: allow selection of classes (#1392)
* CDL/NLCD/SSL4EO: allow selection of classes

* 0 is already 0

* Get NLCD tests to pass

* Search recursively for NLCD files

* Update CDL

* Update SSL4EO-L Benchmark

* Passing tests

* Test SSL4EO-L Benchmark

* Test CDL

* Test NLCD

* Mypy fix

* Remove debugging code
2023-06-04 08:21:05 -07:00
dependabot[bot] 2fe0c1cf3e
Bump black[jupyter] from 22.12.0 to 23.1.0 in /requirements (#1080)
* Bump black[jupyter] from 22.12.0 to 23.1.0 in /requirements

Bumps [black[jupyter]](https://github.com/psf/black) from 22.12.0 to 23.1.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0)

---
updated-dependencies:
- dependency-name: black[jupyter]
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Style changes

* Resolve discrepancy between black and pydocstyle

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-02-01 22:26:54 +00:00
Adam J. Stewart 30cbdad879
Sentinel-2: add support for files downloaded from USGS EarthExplorer (#754)
* Sentinel-2: add support for files downloaded from USGS EarthExplorer

* Style fix

* Fix driver

* Properly close filehandles

* Sentinel is uint16, not int32

* Fix import order

* Use correct resolution for each image
2022-09-05 14:18:57 -05:00
Kendall Smith 7d499562b6
Add Radiant MLHub (REF) Cloud Cover Dataset (#510)
* adding cloud cover dataset class

* Adding Cloud Cover Detection Challenge dataset class and tests

* fixed linter issues and passing pre-commit tests

* resolving linter errors

* addressing failed isort test

* replacing deprecated VisionDataset with NonGeoDataset reference

* removed NDArray import for quoted np.typing.NDArray

* addressing mypy errors

* updated docstring for plot method

* Update docs/api/non_geo_datasets.csv

adding commas to train/test split sizes

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update docs/api/non_geo_datasets.csv

Including total dataset size in api CSV, removing train/test split

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* updated Cloud Cover Dataset name in dataset.rst

* Update docs/api/datasets.rst

Accepting carrots under text in datasets.rst, sorry forgot to add these in!

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update torchgeo/datasets/cloud_cover.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update torchgeo/datasets/cloud_cover.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update torchgeo/datasets/cloud_cover.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* flakefreaking8

* Fix duplicate rst link

* adding cloud cover dataset class

* Adding Cloud Cover Detection Challenge dataset class and tests

* fixed linter issues and passing pre-commit tests

* resolving linter errors

* addressing failed isort test

* replacing deprecated VisionDataset with NonGeoDataset reference

* removed NDArray import for quoted np.typing.NDArray

* addressing mypy errors

* updated docstring for plot method

* Update docs/api/non_geo_datasets.csv

adding commas to train/test split sizes

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update docs/api/non_geo_datasets.csv

Including total dataset size in api CSV, removing train/test split

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* updated Cloud Cover Dataset name in dataset.rst

* Update docs/api/datasets.rst

Accepting carrots under text in datasets.rst, sorry forgot to add these in!

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update torchgeo/datasets/cloud_cover.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update torchgeo/datasets/cloud_cover.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update torchgeo/datasets/cloud_cover.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* flakefreaking8

* Fix duplicate rst link

* added normalization to plot method for better visual

* CloudCoverDetection is a non-geo dataset

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2022-08-31 18:03:24 +00:00