torchgeo/tests
Hitesh Tolani 44ce0073b2
Datasets: add support for pathlib.Path (#2173)
* Added pathlib support for  ``geo.py``

* Fixed failing ruff checks.

* Fixed additional ruff fromating errors

* Added complete ``pathlib`` support

* Additional changes

* Fixed ``cyclone.py`` issues

* Additional fixes

* Fixed ``isinstance`` and ``Path`` inconsistency and

* Fixed mypy errors in ``cdl.py``

* geo/utils: all paths are Paths

* datasets: all paths are Paths

* Test Paths

* Type checks only work for latest torchvision

* Fix tests

---------

Co-authored-by: Hitesh Tolani <hitesh.ht.2003@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2024-07-18 12:16:41 +02:00
..
conf EuroSAT Subclass with Longitude-Based Splits (#2074) 2024-05-29 15:51:43 +02:00
data Update small mistake of attributeerror (#2162) 2024-07-12 14:28:33 +02:00
datamodules Datasets: improve lazy import error msg for missing deps (#2054) 2024-05-15 18:03:54 +02:00
datasets Datasets: add support for pathlib.Path (#2173) 2024-07-18 12:16:41 +02:00
losses Remove type ignores for PyTorch (#460) 2022-03-14 20:35:37 +00:00
models torch.hub: add support for DOFA and Swin models (#2052) 2024-05-12 09:28:28 +02:00
samplers Ruff: prefer single quotes over double quotes (#2001) 2024-05-03 19:30:14 +02:00
trainers EuroSAT Subclass with Longitude-Based Splits (#2074) 2024-05-29 15:51:43 +02:00
transforms transforms: Switch to kornia AugmentationSequential (#2008) 2024-06-30 18:20:48 +00:00
__init__.py Flake8 fixes 2021-08-31 13:25:05 -05:00
test_main.py Ruff: prefer single quotes over double quotes (#2001) 2024-05-03 19:30:14 +02:00