* upload correct weight
* fixed again...
* another upload
* Actually test weights are loaded correctly
* Black fixes
* MoCo model was not supposed to have changed
* Semi-strict tests
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Make RasterDataset accept list of files
* Fix check if str
* Use isdir and isfile
* Rename root to paths and update type hint
* Update children of RasterDataset methods using root
* Fix check to cast str to list
* Update conf files for RasterDatasets
* Add initial suggested test
* Add workaround for lists LandCoverAIBase
* Add method handle_nonlocal_path for users to override
* Raise RuntimeError to support existing tests
* Remove reduntand cast to set
* Remove required os.exists for paths
* Revert "Remove required os.exists for paths"
This reverts commit 84bf62b944326c33d5ba8efdcab615c65b124792.
* Use arg as potitional argument not kwarg
* Improve comments and logs about arg paths
* Remove misleading comment
* Change type hint of 'paths' to Iterable
* Change type hint of 'paths' to Iterable
* Remove premature handling of non-local paths
* Replace root with paths in docstrings
* Add versionadded to list_files docstring
* Add versionchanged to docstrings
* Update type of paths in childred of Raster
* Replace docstring for paths in all raster
* Swap root with paths for conf files for raster
* Add newline before versionchanged
* Revert name to root in conf for ChesapeakeCVPR
* Simplify EUDEM tests
* paths must be a string if you want autodownload support
* Convert list_files to a property
* Fix type hints
* Test with a real empty directory
* Move property `files` up to GeoDataset
* Rename root to paths for VectorDataset
* Fix mypy
* Fix tests
* Delete duplicate code
* Delete duplicate code
* Fix test coverage
* Document name change
---------
Co-authored-by: Adrian Tofting <adriantofting@mobmob14994.hq.k.grp>
Co-authored-by: Adrian Tofting <adrian@vake.ai>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* added functionality for validation split
* Changed "valid" to "val"
* updated docstring & removed redundant lists
* Fixed format with Linters
* Add more testing files
* Simplify regex
* Update datamodule to use new val split
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* outline of dataset class
* outline of dataset class
* test data outline
* setup dataset structure
* load bands
* create test data
* test file outline
* fix data reading
* add unit tests
* try to fix failing windows test
* Fix type hints
* Fix Windows tests
* Fix flake8
* adress comments
* remove left over download stuff and comments
* Minor style changes
* Remove unused import
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Make RasterDataset accept list of files
* Fix check if str
* Use isdir and isfile
* Rename root to paths and update type hint
* Update children of RasterDataset methods using root
* Fix check to cast str to list
* Update conf files for RasterDatasets
* Add initial suggested test
* Add workaround for lists LandCoverAIBase
* Add method handle_nonlocal_path for users to override
* Raise RuntimeError to support existing tests
* Remove reduntand cast to set
* Remove required os.exists for paths
* Revert "Remove required os.exists for paths"
This reverts commit 84bf62b944326c33d5ba8efdcab615c65b124792.
* Use arg as potitional argument not kwarg
* Improve comments and logs about arg paths
* Remove misleading comment
* Change type hint of 'paths' to Iterable
* Change type hint of 'paths' to Iterable
* Remove premature handling of non-local paths
* Replace root with paths in docstrings
* Add versionadded to list_files docstring
* Add versionchanged to docstrings
* Update type of paths in childred of Raster
* Replace docstring for paths in all raster
* Swap root with paths for conf files for raster
* Add newline before versionchanged
* Revert name to root in conf for ChesapeakeCVPR
* Simplify EUDEM tests
* paths must be a string if you want autodownload support
* Convert list_files to a property
* Fix type hints
* Test with a real empty directory
* More diverse tests
* LandCoverAI: don't yet support list of paths
* Black
* isort
---------
Co-authored-by: Adrian Tofting <adriantofting@mobmob14994.hq.k.grp>
Co-authored-by: Adrian Tofting <adrian@vake.ai>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Initial commit
* Fix practically all the problems
* Add docs
* Bruh
* np.typing in quotes because that makes more sense
* make really sure that mosaiks does stuff
* Consolidating RCFs
* Work
* formatting
* coverage
* Update torchgeo/models/rcf.py
* Minor style changes
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* add mapinwild dataset
* add copyright and move the header
* Apply suggestions from code review
accept suggestions
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* add spaces between sections
* test_black
* test_isort
* test_flake8
* dataset instance and test data
Improves the dataset instance and test data script.
* improvements in test script and dataset class
* update test data
* Update mapinwild.py
* Update mapinwild.py
fix typo
* Update mapinwild.py
* improved test coverage and bug fixes
* improved test coverage
* lazy import pandas
* test coverage for pandas
* test coverage for pandas
* Changes after the review
The changes made after the review.
* delete data
* fix mypy
* fix mypy
* delete residual files
* fix type hinting
* Apply suggestions from code review
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Apply suggestions from code review
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Apply suggestions from code review
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* fix RtD
* fix RtD
* fix syntax
* fix RtD
* fix file namings
* modality naming fix
* fix hidden method naming
* Update torchgeo/datasets/mapinwild.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* address reviews
* refactoring and testing
- passing test_download with monkeypatch
- refactoring
- addressing most of the comments
* fix mypy
* syntax and type conversion
* Update torchgeo/datasets/mapinwild.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* addressing the comments
* fix mypy plt.Figure not defined
* make the _merge_parts slimmer
* pandas and reviews
* monkeypatch tvt sets
* Simplify MonkeyPatch import
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Initial commit
* Add to docs
* Pyupgrade
* Pyupgrade
* Added tests
* who actually cares about lines that are 91 characters long
* Using Figure from matplotlib.figure instead of matplotlib.pyplot to make mypy happy even though they are the same thing
* Documentation updates
* Update docs link
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Add command line script
* Label PRs correctly
* Flake8 fix
* Add callbacks
* Update all conf files
* Enforce class of model/data
* Update BYOL tests
* Update all tests
* Use default num workers: 0
* Variable interpolation only supported by omegaconf backend
* Fix regression tests
* Ensure that jsonargparse is installed during testing
* Bump minimimum lightning version
* Workaround for lightning/jsonargparse bugs
* Ignore Python 3.9 warning message
* Add test coverage for __main__.py
* Increase coverage of PixelwiseRegressionTask
* jsonargparse bug fixed in latest release
* Revert "jsonargparse bug fixed in latest release"
This reverts commit 4f38cdfca3.
* Use default logging frequency
* Ensure that metrics are actually logged
* Fix ObjectDetectionTask logging
* Ignore type errors
* Not all need to be ignored
* Ensure that none of our minimum version tests are skipped
* Try pyvista instead
* Try no version
* What is going on
* Try pyvista 0.32.0
* Try pyvista 0.35.0
* Try pyvista 0.35.1
* Try pyvista 0.34.0
* Try pyvista 0.34.2
* Try pyvista 0.34.1
* 0.34.2 is the new min version
* adding seasonet dataset + tests + doc changes
* Fixed docs
* Added tests for missing imports
* Use collections.abc
* Changed some docstrings and comments
* Check parameters using sets
* Changed cmap and interpolation for masks
* Removed requests dependency
* Shortened some lines
* Fixed pandas warning
* Improve documentation of raised error types
---------
Co-authored-by: Viktor Brack <viktor.brack@tu-dortmund.de>
Co-authored-by: Viktor B <39567028+briktor@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Debug failing notebook tests
* Known working nbmake
* Remove buggy tutorial
* Undo version change
* No longer need to rerun tests
* Update tutorials to new syntax
* Bump matplotlib from 3.7.3 to 3.8.0 in /requirements
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.7.3 to 3.8.0.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.7.3...v3.8.0)
---
updated-dependencies:
- dependency-name: matplotlib
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use canonical import location
* Use canonical import location
* Use canonical import location
* More type fixes
* More type fixes
* More type fixes
* More type fixes
---------
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>
* Refactor trainers
* Update conf files
* Fix pydocstyle
* Add scheduler monitor
* Update conf files
* Fix BYOL backbone
* Remove broken configure_optimizers out type
* Fix type hints
* No casts
* Increase test coverage
* Better documentation of supported models
* Remove unimportant configuration
* Remove unimportant configuration
* Drop model_kwargs
* Docstring improvements
* Add base class for all torchgeo trainers
* Add configure_* methods for losses/metrics/models
* init must come first
* More type hints