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

75 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 01de750885 Bump lightning[pytorch-extra] from 2.0.9.post0 to 2.1.0 in /requirements (#1662)
* Bump lightning[pytorch-extra] from 2.0.9.post0 to 2.1.0 in /requirements

Bumps [lightning[pytorch-extra]](https://github.com/Lightning-AI/lightning) from 2.0.9.post0 to 2.1.0.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/2.0.9.post0...2.1.0)

---
updated-dependencies:
- dependency-name: lightning[pytorch-extra]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Remove type ignores

* Capture more warnings

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-10 15:22:53 +01:00
dependabot[bot] b454de3c79 Bump torchvision from 0.15.2 to 0.16.0 in /requirements (#1619)
* Bump torchvision from 0.15.2 to 0.16.0 in /requirements

Bumps [torchvision](https://github.com/pytorch/vision) from 0.15.2 to 0.16.0.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](https://github.com/pytorch/vision/compare/v0.15.2...v0.16.0)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump torch too

* Ignore warning

---------

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-11-10 14:38:22 +01:00
Adam J. Stewart 6b67369240 CI: minimize storage usage (#1658)
* CI: minimize storage usage

* Ignore warning in Python 3.9

* newer pytest required

* bump pytest-cov too
2023-11-06 15:17:05 +01:00
Adam J. Stewart 984e222790
Add command line script (#1559)
* 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
2023-09-27 10:11:52 -07:00
Adam J. Stewart 1b0ca5a5a8
Ensure that none of our minimum version tests are skipped (#1587)
* 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
2023-09-25 10:51:36 -05:00
Adam J. Stewart dbf7a5287f
Promote pandas to a required dependency (#1586)
* Promote pandas to a required dependency

* Update dep files too

* Remove unused imports
2023-09-25 08:09:12 -07:00
dependabot[bot] f0cacd5402
Bump kornia from 0.6.12 to 0.7.0 in /requirements (#1507)
* Bump kornia from 0.6.12 to 0.7.0 in /requirements

Bumps [kornia](https://github.com/kornia/kornia) from 0.6.12 to 0.7.0.
- [Release notes](https://github.com/kornia/kornia/releases)
- [Changelog](https://github.com/kornia/kornia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kornia/kornia/compare/v0.6.12...v0.7.0)

---
updated-dependencies:
- dependency-name: kornia
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Ignore warning out of our control

---------

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-08-02 23:04:47 +00:00
Adam J. Stewart 745f0ea68c
Remove upper bounds from dependencies (#1480) 2023-07-20 20:01:47 +00:00
Adam J. Stewart 17e1de36bb
Bump minimum support pycocotools version (#1484) 2023-07-19 09:20:13 -05:00
dependabot[bot] e75edab85b
Bump torchmetrics from 0.11.4 to 1.0.0 in /requirements (#1465)
* Bump torchmetrics from 0.11.4 to 1.0.0 in /requirements

Bumps [torchmetrics](https://github.com/Lightning-AI/torchmetrics) from 0.11.4 to 1.0.0.
- [Release notes](https://github.com/Lightning-AI/torchmetrics/releases)
- [Changelog](https://github.com/Lightning-AI/torchmetrics/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Lightning-AI/torchmetrics/compare/v0.11.4...v1.0.0)

---
updated-dependencies:
- dependency-name: torchmetrics
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump max version

* mdmc_average -> multidim_average

* debugging

* Workaround for bug in MAP dict

* Workaround for bug in MAP dict

* Workaround for bug in MAP dict

* Workaround for bug in MAP dict

---------

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-07-06 16:54:34 +00:00
dependabot[bot] fa6542d91a
Bump pillow from 9.5.0 to 10.0.0 in /requirements (#1462)
* Bump pillow from 9.5.0 to 10.0.0 in /requirements

Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.5.0 to 10.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.5.0...10.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump max version

---------

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-07-03 21:37:20 +00:00
dependabot[bot] 9f381b0bbb
Bump pyvista from 0.39.1 to 0.40.0 in /requirements (#1458)
* Bump pyvista from 0.39.1 to 0.40.0 in /requirements

Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.39.1 to 0.40.0.
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](https://github.com/pyvista/pyvista/compare/v0.39.1...v0.40.0)

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Bump upper bound

---------

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-06-30 22:00:19 +00:00
Adam J. Stewart ce55e6d56d
Move project configuration from setup.cfg to pyproject.toml (#1446)
* Move project configuration from setup.cfg to pyproject.toml

* Bump minimum setuptools

* Ignore warning

* I wasn't asking

* Add more emails
2023-06-30 16:37:33 -05:00
dependabot[bot] 946a9c47ac
Bump setuptools from 67.8.0 to 68.0.0 in /requirements (#1429)
* Bump setuptools from 67.8.0 to 68.0.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 67.8.0 to 68.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v67.8.0...v68.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump setuptools max

---------

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-06-20 01:33:52 +00:00
Adam J. Stewart e0f9ece591
Drop Python 3.8 support (#1246) 2023-04-15 20:27:51 -05:00
Adam J. Stewart e9113e31ae
Fix tests when PyTorch built with MPS support (#1188) 2023-03-22 15:26:45 +03:00
dependabot[bot] 392d46737c
Bump pytorch-lightning[extra] from 1.9.4 to 2.0.0 in /requirements (#1178)
* Bump pytorch-lightning[extra] from 1.9.4 to 2.0.0 in /requirements

Bumps [pytorch-lightning[extra]](https://github.com/Lightning-AI/lightning) from 1.9.4 to 2.0.0.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/1.9.4...2.0.0)

---
updated-dependencies:
- dependency-name: pytorch-lightning[extra]
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Remove deprecated features

* pytorch_lightning -> lightning

* bump radiant-mlhub too

* isort fix

* lightning does not yet have public type hints

* More ignores

* blanket ignore

* blanket ignore

* Fix function typo

---------

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-03-16 11:14:48 -05:00
dependabot[bot] 8239e1acc7
Bump setuptools from 67.3.1 to 67.4.0 in /requirements (#1133)
* Bump setuptools from 67.3.1 to 67.4.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 67.3.1 to 67.4.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v67.3.1...v67.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Update deprecation warning format

* module masking...

---------

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-21 16:34:48 -06:00
dependabot[bot] 75a1bea965
Bump kornia from 0.6.9 to 0.6.10 in /requirements (#1123)
Bumps [kornia](https://github.com/kornia/kornia) from 0.6.9 to 0.6.10.
- [Release notes](https://github.com/kornia/kornia/releases)
- [Changelog](https://github.com/kornia/kornia/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kornia/kornia/compare/v0.6.9...v0.6.10)

---
updated-dependencies:
- dependency-name: kornia
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 17:03:47 +00:00
dependabot[bot] 829adc34ed
Bump setuptools from 67.2.0 to 67.3.1 in /requirements (#1115)
Bumps [setuptools](https://github.com/pypa/setuptools) from 67.2.0 to 67.3.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v67.2.0...v67.3.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 22:21:46 +00:00
dependabot[bot] 509b459d23
Bump setuptools from 66.1.1 to 67.0.0 in /requirements (#1066)
* Bump setuptools from 66.1.1 to 67.0.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 66.1.1 to 67.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v66.1.1...v67.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* bump setuptools upper bound

---------

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-01-30 18:30:37 +00:00
Adam J. Stewart fc7a993058
Drop Python 3.7 support (#1058)
* Drop Python 3.7 support

* Don't update torch

* Drop version specifier

* Update pyupgrade

* Update OpenCV

* Python 3.8-specific code changes

* Clean up step name

* bump pillow
2023-01-30 11:17:34 -06:00
Adam J. Stewart 098f58026f
tensorboardX should not raise DeprecationWarning unless python backend is forced (#1050) 2023-01-29 15:02:49 -08:00
Adam J. Stewart 49dfb0d460
0.4.0 release (#1036)
* 0.4.0 release

* Fix issues with missing tensorboardX dependency

* Fix more issues with integration tests

* fix trainers.ipynb

* header level pretrained.ipynb

* Fix typo in usavars.py

* Seed arg was removed

* pretrained, 3 channel

* Slow means slow

* Need to actually download the dataset

* versionchanged should be minor version only

* Remove VisionDataset

* Faster train.py tests

* See what's slow

* Flake8 fix

* Need to download the dataset

* Inria datamodule: needs augs during test stage too

Co-authored-by: Nils Lehmann <nils.lehmann24@gmail.com>
2023-01-24 15:23:14 -08:00
Ashwin Nair 7c2868814f
Add plot method for VHR10 dataset (#847)
* Add plot fn & rename nwpu -> vhr10

* Update test data & add data.py

* Add scikit-image dependency

* Move scikit-image dep to extras

* Comment out check for coverage

* Move skimage import

* Update requirements

* Test requirements

* Update requirements

* Update

* Update

* Update

* Update

* Update

* Update min scipy

* Update min scipy

* Update min scipy

* Update min scipy

* Update min scipy

* Update skimage

* Review comments#1

* Update skimage

* Revert rename to nwpu

* Revert renames

* Update min scipy

* Fix data dirname

* More fixes

* Bump numpy minor version

* Update scipy

* Going back to what worked

* Ignore numpy warning

* Edit

* Edit warning

* Ignore another warning

* Insanity

* Fix pooch

* Try older skimage

* Try older scipy

* scipy 1.2.0

* scipy 1.4.0

* scipy 1.5.0

* scipy 1.4.2

* scipy 1.6.0

* scipy 1.5.4

* scipy 1.5.2

* scipy 1.5.1

* scipy 1.5.1 is new min dep version

* Fix skip

* Newer scipy

* scipy 1.6.3

* scipy 1.6.0

* scipy 1.6.1

* scipy 1.6.2

* scipy 1.6.2 is new min

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-01-22 23:37:24 -06:00
dependabot[bot] 03d4b5eac9
Bump setuptools from 65.7.0 to 66.0.0 in /requirements (#1017)
* Bump setuptools from 65.7.0 to 66.0.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 65.7.0 to 66.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v65.7.0...v66.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump max setuptools versions

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-01-16 22:18:53 +00:00
Nils Lehmann 2bf1a3614b
Add datamodule for GID-15 dataset (#928)
* add datamodule with crop logic

* remove print and fix batch_size

* typo

* Use Kornia augmentations

* Style

* Ignore warning

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-12-30 11:31:00 -06:00
Adam J. Stewart 61cd1c1013
pyproject.toml: silence protobuf deprecation warning (#973) 2022-12-24 14:13:08 -06:00
dependabot[bot] a498ccaa6f
Bump pytorch-lightning from 1.7.4 to 1.7.5 in /requirements (#771) 2022-09-07 23:29:12 -05:00
Adam J. Stewart b0bdc9c8e2
setuptools 65 is now tested (#753) 2022-09-03 10:46:38 -07:00
dependabot[bot] 13c5c8a257
Bump setuptools from 63.4.3 to 64.0.0 in /requirements (#715)
* Bump setuptools from 63.4.3 to 64.0.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 63.4.3 to 64.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v63.4.3...v64.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump maximum setuptools version

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>
2022-08-11 21:28:29 +00:00
dependabot[bot] 044d901dca
Bump pytorch-lightning from 1.6.5 to 1.7.0 in /requirements (#697)
* Bump pytorch-lightning from 1.6.5 to 1.7.0 in /requirements

Bumps [pytorch-lightning](https://github.com/Lightning-AI/lightning) from 1.6.5 to 1.7.0.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](https://github.com/Lightning-AI/lightning/compare/1.6.5...pl/1.7.0)

---
updated-dependencies:
- dependency-name: pytorch-lightning
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Remove protobuf restrictions

* LightningModule was moved

* Mypy fixes

* Ensure same behavior

* Fix docs

* Silence warnings

* Change error message location

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-08-02 16:39:10 -07:00
Adam J. Stewart 76139f60df
0.3.0 release (#664)
* 0.3.0 release

* Slightly different distutils deprecation warning

* Fix release tests

* Escape regex in warning ignore

* Escape characters require literal strings

* Colon was problematic

* Re-escape regex patterns

* Fix tests without optional dependencies

* Fix tests without optional dependencies

* Try older nbmake

* Try older nbmake

* Try explicitly passing key

* Black fixes

* Document when parameters were added

* Document more changes
2022-07-10 22:30:48 -07:00
Adam J. Stewart d137589a96
Get tests to pass locally with Spack installation 2022-07-09 09:32:38 -07:00
dependabot[bot] 8b191fb5c1
Bump setuptools from 62.6.0 to 63.1.0 in /requirements (#650)
* Bump setuptools from 62.6.0 to 63.1.0 in /requirements

Bumps [setuptools](https://github.com/pypa/setuptools) from 62.6.0 to 63.1.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v62.6.0...v63.1.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump max supported version of setuptools

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-07-05 10:13:08 -07:00
Adam J. Stewart 627473c609
Better README (#626)
* Better README

* Update description
2022-06-29 22:25:59 -07:00
Adam J. Stewart 0783560c9c
Ignore pytorch-sphinx-theme installation (#615) 2022-06-24 13:41:24 -07:00
Adam J. Stewart 8c5e4d21cd
Test minimum version of deps (#574) 2022-06-18 08:00:45 -07:00
Adam J. Stewart 7a9a9c1d64
Resolve DeprecationWarnings (#567)
* Resolve DeprecationWarnings

* Fix PIL version check

* Add ignores, hide ignores

* Always specify max_epochs

* Re-add one of the ignores that was removed

* Silence ColorJitter behavior change warnings

* Fix num_workers warning on macOS

* Ignore coverage of lines missed by older pillow versions

* Fix support for pre/post versions of PIL

* Wordsmithing

* Remove unused imports
2022-06-13 10:38:17 -07:00
Adam J. Stewart 28aa174dcb
Add upper bounds to dep versions (#557) 2022-06-05 17:37:49 -05:00
Adam J. Stewart 3baf1ef7f2
Drop Python 3.6 support (#482)
* Drop Python 3.6 support

* pandas 0.23.2+ required for Python 3.7+ support

* Update environment.yml too
2022-03-29 13:58:46 -05:00
Ashwin Nair 4bd4f2acdc
Run linters on tests/data (#356)
* Run linters on tests/data

* Configuration: use .gitignore for tool skip

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-01-13 19:16:10 +00:00
Adam J. Stewart 0a635d40b8
Ignore GPU warnings 2022-01-01 17:07:13 +00:00
Adam J. Stewart eb6961d546
Add comments explaining pytest filterwarnings 2021-12-30 14:46:27 -06:00
Adam J. Stewart 744078fcff
Refactor datamodule/model testing (#329)
* Refactor RegressionTask testing

* Programmatically determine max value

* Refactor ClassificationTask testing

* Silence warnings

* Refactor SegmentationTask testing

* Fix training mappings

* Fix GeoDataset trainers

* Fix ETCI trainer fake data

* Update OSCD training data

* Get LandCoverAI tests to pass

* Fix OSCD checksum handling

* Fix NAIP-Chesapeake tests

* Fix OSCD tests

* Keep BoundingBox icy

* Fix other datamodules

* Fix chesapeake testing

* Refactor BYOLTask tests

* Style fixes

* Silence pytorch-lightning warnings

* Get coverage for Chesapeake CVPR prior

* Fix trainer tests
2021-12-30 13:54:47 -06:00
estherrolf 0d4811b752
functionality for learning on the prior with QR loss and ChesapeakeCVPR data (#202)
* adding QR loss functions for learning on the prior

* chesapake learn on prior trainer with self-contained code for visualization

* adding prior dataset to the chesapeake datasets; doesn't handle downloading or anything like that yet

* updating init files to include chesapeake CVPR prior

* adding FCNModified for learning on the prior

* changing input to samplers to pass dataset instead of dataset.index

* fixing style issues

* Removing FCN_modified

* Fixing super call and mypy in FCN model

* Added learning on the prior extension

* Update tests

* Formatting

* Adding QR loss

* Added losses to docs

* Removing trainer, moving datamodule

* Combining chesapeake and chesapeake prior datamodules

* Formatting

* Test coverage

* Formatting

* Adding losses

* Re-moving the datamodules around

* Make loss function a torch Module

* Version added

* Fixed some stuff that got messed up in the rebase

* Formatting

* How'd this get there?

* Change qr losses to expect probabilities instead of log-probabilities

* Clean up test

* Rename qr loss file

* Renamed test file

Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
2021-12-28 14:56:14 -06:00
Adam J. Stewart 9bc0bdb62e
Move imports out of global namespace (#325) 2021-12-24 12:47:54 -08:00
Adam J. Stewart cbebc1e0db
Move DataModules to torchgeo.datamodules (#321)
* Move DataModules to torchgeo.datamodules

* Clean up local imports
2021-12-23 20:10:50 -06:00
Adam J. Stewart 46cf24453a
Transform tests: min Kornia version, filter warnings (#306) 2021-12-19 15:04:23 -06:00
Caleb Robinson 5d407b76b5
Overhaul BoundingBox and ZipDataset classes (#144)
* Adding a UnionDataset

* Adding contains method to BoundingBox

* Finishing UnionDataset

* Add __contains__ method

* Overhaul BoundingBox, add set arithmetic

* mypy fixes

* pydocstyle fixes

* Ignore erroneous pydocstyle warnings

* rtree only supports tuples, not BoundingBoxes

* mypy fixes

* Use custom collate function to handle BoundingBoxes

* Add back support for Python 3.6

* Add tests for all new BoundingBox features

* Rename ZipDataset to IntersectionDataset

* Merge indices of IntersectionDataset, auto-convert CRS/res

* Get tests to pass

* Fix more tests

* Test more of RasterDataset/VectorDataset directly

* Increase UnionDataset test coverage

* IntersectionDataset stacks tensors, UnionDataset merges tensors

* Support collating dicts with differing keys, add tests

* Style fixes

* Samplers: compute intersection between index and ROI

* Update README with example usage

* GeoDataset addition is deprecated

* Add note about CRS/res

* More documentation for Intersection/UnionDatasets

* Use collate function in tutorial

* Don't use multiple workers

* Fix typo

* Drop support for adding GeoDatasets

* Remove unused import

* Add comment explaining coverage config settings

* Collation function needed for benchmark script

* Add more explanation to README

* Correct Landsat 8 bands

* Print warning when changing CRS/res

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-12-03 16:40:50 -06:00