Adam J. Stewart
d4a7b7286f
pytest: set default --cov, --cov-report ( #2275 )
...
* pytest: set default --cov, --cov-report
* Prevent ambiguity between packages and directories
2024-09-10 17:15:24 +02:00
Adam J. Stewart
6cee6b4a84
Ruff: remove NPY tests ( #2287 )
2024-09-06 17:29:15 +02:00
Adam J. Stewart
bcb959ab2d
0.6.0 release ( #2265 )
...
* 0.6.0 release
* Fix versionadded
* Update docs on ruff
* EuroCrops: consistent citation message
* Attempt to remove fully qualified type hints
* Silence test warnings
* Undo digital typhoon changes
* Undo sphinx req changes
* Automatically delete downloaded models after successful tests to avoid OOM
* Silence mypy warning
* Skip dependabot in auto-generated release notes
2024-09-01 12:06:26 +02:00
Adam J. Stewart
c5380abe28
Docs: fix broken links and redirects ( #2267 )
2024-08-31 14:38:28 +02:00
Adam J. Stewart
e8e309f05b
Coverage: update to modern config flag ( #2260 )
2024-08-28 20:09:14 +02:00
Adam J. Stewart
95a1fec861
mypy: even more strict ( #2241 )
...
* mypy: even more strict
* dict is discouraged for arguments
* Don't use Any in sample/batch utils
* Fix transforms
* Revert "Don't use Any in sample/batch utils"
This reverts commit e7ac62960d
.
* Fix remaining bugs
2024-08-23 17:13:08 +02:00
Adam J. Stewart
067ae1af75
Ruff: enable ruff-specific rules ( #2218 )
...
* Ruff: enable ruff-specific rules
* Static class variables
* String colormap must be list
* String colormap must be list
2024-08-19 15:07:21 +02:00
Adam J. Stewart
880593e7ef
SpaceNet: add SpaceNet 8, radiant mlhub -> aws ( #2203 )
2024-08-17 20:49:48 +02:00
Adam J. Stewart
17b5ccf5ff
Redistribute NWPU datasets on Hugging Face ( #2210 )
...
* Redistribute NWPU datasets on Hugging Face
* unrar no longer needed in CI
* VHR-10: md5 monkeypatching is required
2024-08-17 17:01:44 +02:00
Adam J. Stewart
294a59b4ff
Chesapeake: update to 2022 edition ( #2214 )
...
* Chesapeake: update to 2022 edition
* Hard-code cmap, don't want to write yet another test file
* Update tests
* Update datamodule
* Bug fix
* Update test config
* Fix plotting
* More classes
* Fix docs
2024-08-17 10:10:02 +02:00
Adam J. Stewart
9406f6775b
Testing: suppress warnings ( #2224 )
2024-08-13 19:30:00 +02:00
Adam J. Stewart
e973c1e3ca
Ruff: ensure all functions have type hints ( #2217 )
...
* Ensure all functions have type hints
* Fix Callable
* Undo notebook changes
2024-08-12 14:32:31 +02:00
Adam J. Stewart
ea71c6d4ae
Add support for lightning 2.4+ ( #2211 )
2024-08-07 14:26:39 +02:00
Adam J. Stewart
ecb07ee898
SimCLR: switch from Adam to LARS ( #2196 )
...
* SimCLR: switch from Adam to LARS
* Bump minimum lightly version
2024-08-01 12:49:43 +02:00
Adam J. Stewart
d27ee30a5f
NumPy 2 support ( #2151 )
2024-07-10 17:41:05 +02:00
Adam J. Stewart
82bb8732eb
Lightning 2.3+ contains known bugs with YAML parsing ( #2155 )
2024-07-08 07:22:51 -07:00
Ashwin Nair
c8e1e09f3d
Bump kornia min version ( #2144 )
2024-06-29 23:22:26 +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
d9991ed154
Use ruff ( #1994 )
...
* Update config files
* Fix deviations
* Update requirements files
* Update CI
* Update devcontainer
* Update pre-commit
* Check Jupyter notebooks too
* Better safe than sorry
* Update docs
* Undo removal of mypy
* Test a bug
* Also format
* pre-commit: fix indentation
* Test a bug
* Fix the bug
* Run format too
* Fix typo
* mypy requires pytest
* Fix docs link
2024-04-15 23:46:00 +02:00
Ashwin Nair
abceea09d0
models: Switch to kornia AugmentationSequential ( #1979 )
...
* models: Switch to kornia AugmentationSequential
* Bump min version of kornia
* mypy-fix
* Remove kornia warnings from ignore list
* Wrap Lambda in ImageSequential
2024-04-05 16:07:02 +02:00
Adam J. Stewart
ea57469b0b
Drop Python 3.9 support ( #1966 )
2024-04-04 09:15:56 +02:00
Adam J. Stewart
fbc2bb321d
pytest: silence Python 3.12 warnings ( #1929 )
2024-03-03 12:45:40 -06:00
Adam J. Stewart
2749d5b5b1
pytest: silence kornia warnings ( #1930 )
...
* pytest: silence kornia warnings
* remove library name
2024-03-03 11:26:01 -06:00
Adam J. Stewart
2789f29921
ObjectDetectionTask: explicit batch size ( #1928 )
2024-03-03 20:48:39 +04:00
Adam J. Stewart
82e2559a1f
Test Python 3.12 ( #1837 )
...
* Test Python 3.12
* Flake8 fix
* Caching bug
2024-02-06 09:04:40 -06:00
Adam J. Stewart
4a85c85246
lightly v1.4.26 is incompatible with smp ( #1825 )
2024-02-01 08:57:50 -06:00
Adam J. Stewart
bb1c9722f5
pytest: don't cast warnings to errors ( #1793 )
2024-01-02 10:33:05 -06:00
Isaac Corley
8c24c80bb3
Satlas pretrained Swin Transformer v2 models ( #1358 )
...
* add satlas pretrained models
* update swin_b -> swin_v2_b
* update docs
* swin_b -> swin_v2_b again
* add the tests
* tests
* fix isort error
* update weights csv files
* swin_v2_b added in torchvision 0.14 so update min reqs
* fix swin_v2_b weights api
* torchvision 0.14.0 depends on torch 1.13.0
* fix docs
* fix docs
* fix swin docs
* update comment and import from root module
* update torch/torchvision min versions
* Move to satellite-specific tables
* Move to satellite-specific tables
---------
Co-authored-by: Caleb Robinson <calebrob6@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2023-11-25 20:39:43 +00:00
dependabot[bot]
4c64bbe53a
Bump torchvision from 0.16.0 to 0.16.1 in /requirements ( #1729 )
...
* Bump torchvision from 0.16.0 to 0.16.1 in /requirements
Bumps [torchvision](https://github.com/pytorch/vision ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/pytorch/vision/releases )
- [Commits](https://github.com/pytorch/vision/commits )
---
updated-dependencies:
- dependency-name: torchvision
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump torch too
* Ignore pytest 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-16 05:34:47 -06:00
Adam J. Stewart
1fc0f2726e
pytest: ignore distutils usage in torchmetrics ( #1688 )
2023-10-28 08:32:59 -05:00
dependabot[bot]
c7832d4ed4
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-10-13 16:33:37 -05:00
dependabot[bot]
1216617087
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-10-13 20:04:05 +00:00
Adam J. Stewart
27be503789
CI: minimize storage usage ( #1658 )
...
* CI: minimize storage usage
* Ignore warning in Python 3.9
* newer pytest required
* bump pytest-cov too
2023-10-13 10:43:41 -07:00
dependabot[bot]
7faf0bb49a
Bump nbmake from 1.4.3 to 1.4.5 in /requirements ( #1614 )
...
* Bump nbmake from 1.4.3 to 1.4.5 in /requirements
Bumps [nbmake](https://github.com/treebeardtech/nbmake ) from 1.4.3 to 1.4.5.
- [Release notes](https://github.com/treebeardtech/nbmake/releases )
- [Commits](https://github.com/treebeardtech/nbmake/compare/v1.4.3...v1.4.5 )
---
updated-dependencies:
- dependency-name: nbmake
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update pkg_resources deprecation msg
* Keep old msg too
---------
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-10-04 07:41:25 -05: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